@Generated(value="software.amazon.awssdk:codegen") public final class DataDestinationConfig extends Object implements SdkPojo, Serializable, ToCopyableBuilder<DataDestinationConfig.Builder,DataDestinationConfig>
The destination where the Amazon Web Services IoT FleetWise campaign sends data. You can send data to be stored in Amazon S3 or Amazon Timestream.
| Modifier and Type | Class and Description |
|---|---|
static interface |
DataDestinationConfig.Builder |
static class |
DataDestinationConfig.Type |
| Modifier and Type | Method and Description |
|---|---|
static DataDestinationConfig.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
static DataDestinationConfig |
fromS3Config(Consumer<S3Config.Builder> s3Config)
Create an instance of this class with
s3Config() initialized to the given value. |
static DataDestinationConfig |
fromS3Config(S3Config s3Config)
Create an instance of this class with
s3Config() initialized to the given value. |
static DataDestinationConfig |
fromTimestreamConfig(Consumer<TimestreamConfig.Builder> timestreamConfig)
Create an instance of this class with
timestreamConfig() initialized to the given value. |
static DataDestinationConfig |
fromTimestreamConfig(TimestreamConfig timestreamConfig)
Create an instance of this class with
timestreamConfig() initialized to the given value. |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
S3Config |
s3Config()
The Amazon S3 bucket where the Amazon Web Services IoT FleetWise campaign sends data.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends DataDestinationConfig.Builder> |
serializableBuilderClass() |
TimestreamConfig |
timestreamConfig()
The Amazon Timestream table where the campaign sends data.
|
DataDestinationConfig.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
DataDestinationConfig.Type |
type()
Retrieve an enum value representing which member of this object is populated.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final S3Config s3Config()
The Amazon S3 bucket where the Amazon Web Services IoT FleetWise campaign sends data.
public final TimestreamConfig timestreamConfig()
The Amazon Timestream table where the campaign sends data.
public DataDestinationConfig.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<DataDestinationConfig.Builder,DataDestinationConfig>public static DataDestinationConfig.Builder builder()
public static Class<? extends DataDestinationConfig.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public static DataDestinationConfig fromS3Config(S3Config s3Config)
s3Config() initialized to the given value.
The Amazon S3 bucket where the Amazon Web Services IoT FleetWise campaign sends data.
s3Config - The Amazon S3 bucket where the Amazon Web Services IoT FleetWise campaign sends data.public static DataDestinationConfig fromS3Config(Consumer<S3Config.Builder> s3Config)
s3Config() initialized to the given value.
The Amazon S3 bucket where the Amazon Web Services IoT FleetWise campaign sends data.
s3Config - The Amazon S3 bucket where the Amazon Web Services IoT FleetWise campaign sends data.public static DataDestinationConfig fromTimestreamConfig(TimestreamConfig timestreamConfig)
timestreamConfig() initialized to the given value.
The Amazon Timestream table where the campaign sends data.
timestreamConfig - The Amazon Timestream table where the campaign sends data.public static DataDestinationConfig fromTimestreamConfig(Consumer<TimestreamConfig.Builder> timestreamConfig)
timestreamConfig() initialized to the given value.
The Amazon Timestream table where the campaign sends data.
timestreamConfig - The Amazon Timestream table where the campaign sends data.public DataDestinationConfig.Type type()
DataDestinationConfig.Type.UNKNOWN_TO_SDK_VERSION if the
service returned a member that is only known to a newer SDK version.
When this class is created directly in your code, this will be DataDestinationConfig.Type.UNKNOWN_TO_SDK_VERSION if zero
members are set, and null if more than one member is set.Copyright © 2023. All rights reserved.