Class DataDestinationConfig
- java.lang.Object
-
- software.amazon.awssdk.services.iotfleetwise.model.DataDestinationConfig
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<DataDestinationConfig.Builder,DataDestinationConfig>
@Generated("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.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceDataDestinationConfig.Builderstatic classDataDestinationConfig.Type
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DataDestinationConfig.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)static DataDestinationConfigfromS3Config(Consumer<S3Config.Builder> s3Config)Create an instance of this class withs3Config()initialized to the given value.static DataDestinationConfigfromS3Config(S3Config s3Config)Create an instance of this class withs3Config()initialized to the given value.static DataDestinationConfigfromTimestreamConfig(Consumer<TimestreamConfig.Builder> timestreamConfig)Create an instance of this class withtimestreamConfig()initialized to the given value.static DataDestinationConfigfromTimestreamConfig(TimestreamConfig timestreamConfig)Create an instance of this class withtimestreamConfig()initialized to the given value.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()S3Configs3Config()The Amazon S3 bucket where the Amazon Web Services IoT FleetWise campaign sends data.List<SdkField<?>>sdkFields()static Class<? extends DataDestinationConfig.Builder>serializableBuilderClass()TimestreamConfigtimestreamConfig()The Amazon Timestream table where the campaign sends data.DataDestinationConfig.BuildertoBuilder()StringtoString()Returns a string representation of this object.DataDestinationConfig.Typetype()Retrieve an enum value representing which member of this object is populated.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
s3Config
public final S3Config s3Config()
The Amazon S3 bucket where the Amazon Web Services IoT FleetWise campaign sends data.
- Returns:
- The Amazon S3 bucket where the Amazon Web Services IoT FleetWise campaign sends data.
-
timestreamConfig
public final TimestreamConfig timestreamConfig()
The Amazon Timestream table where the campaign sends data.
- Returns:
- The Amazon Timestream table where the campaign sends data.
-
toBuilder
public DataDestinationConfig.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<DataDestinationConfig.Builder,DataDestinationConfig>
-
builder
public static DataDestinationConfig.Builder builder()
-
serializableBuilderClass
public static Class<? extends DataDestinationConfig.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
fromS3Config
public static DataDestinationConfig fromS3Config(S3Config s3Config)
Create an instance of this class withs3Config()initialized to the given value.The Amazon S3 bucket where the Amazon Web Services IoT FleetWise campaign sends data.
- Parameters:
s3Config- The Amazon S3 bucket where the Amazon Web Services IoT FleetWise campaign sends data.
-
fromS3Config
public static DataDestinationConfig fromS3Config(Consumer<S3Config.Builder> s3Config)
Create an instance of this class withs3Config()initialized to the given value.The Amazon S3 bucket where the Amazon Web Services IoT FleetWise campaign sends data.
- Parameters:
s3Config- The Amazon S3 bucket where the Amazon Web Services IoT FleetWise campaign sends data.
-
fromTimestreamConfig
public static DataDestinationConfig fromTimestreamConfig(TimestreamConfig timestreamConfig)
Create an instance of this class withtimestreamConfig()initialized to the given value.The Amazon Timestream table where the campaign sends data.
- Parameters:
timestreamConfig- The Amazon Timestream table where the campaign sends data.
-
fromTimestreamConfig
public static DataDestinationConfig fromTimestreamConfig(Consumer<TimestreamConfig.Builder> timestreamConfig)
Create an instance of this class withtimestreamConfig()initialized to the given value.The Amazon Timestream table where the campaign sends data.
- Parameters:
timestreamConfig- The Amazon Timestream table where the campaign sends data.
-
type
public DataDestinationConfig.Type type()
Retrieve an enum value representing which member of this object is populated. When this class is returned in a service response, this will beDataDestinationConfig.Type.UNKNOWN_TO_SDK_VERSIONif 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 beDataDestinationConfig.Type.UNKNOWN_TO_SDK_VERSIONif zero members are set, andnullif more than one member is set.
-
-