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 campaign sends data. You can send data to an MQTT topic, or store it 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 DataDestinationConfigfromMqttTopicConfig(Consumer<MqttTopicConfig.Builder> mqttTopicConfig)Create an instance of this class withmqttTopicConfig()initialized to the given value.static DataDestinationConfigfromMqttTopicConfig(MqttTopicConfig mqttTopicConfig)Create an instance of this class withmqttTopicConfig()initialized to the given value.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()MqttTopicConfigmqttTopicConfig()The MQTT topic to which the Amazon Web Services IoT FleetWise campaign routes data.S3Configs3Config()The Amazon S3 bucket where the Amazon Web Services IoT FleetWise campaign sends data.Map<String,SdkField<?>>sdkFieldNameToField()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.
-
mqttTopicConfig
public final MqttTopicConfig mqttTopicConfig()
The MQTT topic to which the Amazon Web Services IoT FleetWise campaign routes data.
Access to certain Amazon Web Services IoT FleetWise features is currently gated. For more information, see Amazon Web Services Region and feature availability in the Amazon Web Services IoT FleetWise Developer Guide.
- Returns:
- The MQTT topic to which the Amazon Web Services IoT FleetWise campaign routes data.
Access to certain Amazon Web Services IoT FleetWise features is currently gated. For more information, see Amazon Web Services Region and feature availability in the Amazon Web Services IoT FleetWise Developer Guide.
-
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.
-
fromMqttTopicConfig
public static DataDestinationConfig fromMqttTopicConfig(MqttTopicConfig mqttTopicConfig)
Create an instance of this class withmqttTopicConfig()initialized to the given value.The MQTT topic to which the Amazon Web Services IoT FleetWise campaign routes data.
Access to certain Amazon Web Services IoT FleetWise features is currently gated. For more information, see Amazon Web Services Region and feature availability in the Amazon Web Services IoT FleetWise Developer Guide.
- Parameters:
mqttTopicConfig- The MQTT topic to which the Amazon Web Services IoT FleetWise campaign routes data.Access to certain Amazon Web Services IoT FleetWise features is currently gated. For more information, see Amazon Web Services Region and feature availability in the Amazon Web Services IoT FleetWise Developer Guide.
-
fromMqttTopicConfig
public static DataDestinationConfig fromMqttTopicConfig(Consumer<MqttTopicConfig.Builder> mqttTopicConfig)
Create an instance of this class withmqttTopicConfig()initialized to the given value.The MQTT topic to which the Amazon Web Services IoT FleetWise campaign routes data.
Access to certain Amazon Web Services IoT FleetWise features is currently gated. For more information, see Amazon Web Services Region and feature availability in the Amazon Web Services IoT FleetWise Developer Guide.
- Parameters:
mqttTopicConfig- The MQTT topic to which the Amazon Web Services IoT FleetWise campaign routes data.Access to certain Amazon Web Services IoT FleetWise features is currently gated. For more information, see Amazon Web Services Region and feature availability in the Amazon Web Services IoT FleetWise Developer Guide.
-
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.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-