Interface CreateStateTemplateRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<CreateStateTemplateRequest.Builder,
,CreateStateTemplateRequest> IoTFleetWiseRequest.Builder
,SdkBuilder<CreateStateTemplateRequest.Builder,
,CreateStateTemplateRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
CreateStateTemplateRequest
-
Method Summary
Modifier and TypeMethodDescriptiondataExtraDimensions
(String... dataExtraDimensions) A list of vehicle attributes to associate with the payload published on the state template's MQTT topic.dataExtraDimensions
(Collection<String> dataExtraDimensions) A list of vehicle attributes to associate with the payload published on the state template's MQTT topic.description
(String description) A brief description of the state template.metadataExtraDimensions
(String... metadataExtraDimensions) A list of vehicle attributes to associate with user properties of the messages published on the state template's MQTT topic.metadataExtraDimensions
(Collection<String> metadataExtraDimensions) A list of vehicle attributes to associate with user properties of the messages published on the state template's MQTT topic.The name of the state template.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.signalCatalogArn
(String signalCatalogArn) The ARN of the signal catalog associated with the state template.stateTemplateProperties
(String... stateTemplateProperties) A list of signals from which data is collected.stateTemplateProperties
(Collection<String> stateTemplateProperties) A list of signals from which data is collected.tags
(Collection<Tag> tags) Metadata that can be used to manage the state template.tags
(Consumer<Tag.Builder>... tags) Metadata that can be used to manage the state template.Metadata that can be used to manage the state template.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.iotfleetwise.model.IoTFleetWiseRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
name
The name of the state template.
- Parameters:
name
- The name of the state template.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
A brief description of the state template.
- Parameters:
description
- A brief description of the state template.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
signalCatalogArn
The ARN of the signal catalog associated with the state template.
- Parameters:
signalCatalogArn
- The ARN of the signal catalog associated with the state template.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
stateTemplateProperties
CreateStateTemplateRequest.Builder stateTemplateProperties(Collection<String> stateTemplateProperties) A list of signals from which data is collected. The state template properties contain the fully qualified names of the signals.
- Parameters:
stateTemplateProperties
- A list of signals from which data is collected. The state template properties contain the fully qualified names of the signals.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
stateTemplateProperties
A list of signals from which data is collected. The state template properties contain the fully qualified names of the signals.
- Parameters:
stateTemplateProperties
- A list of signals from which data is collected. The state template properties contain the fully qualified names of the signals.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dataExtraDimensions
A list of vehicle attributes to associate with the payload published on the state template's MQTT topic. (See Processing last known state vehicle data using MQTT messaging). For example, if you add
Vehicle.Attributes.Make
andVehicle.Attributes.Model
attributes, Amazon Web Services IoT FleetWise will enrich the protobuf encoded payload with those attributes in theextraDimensions
field.- Parameters:
dataExtraDimensions
- A list of vehicle attributes to associate with the payload published on the state template's MQTT topic. (See Processing last known state vehicle data using MQTT messaging). For example, if you addVehicle.Attributes.Make
andVehicle.Attributes.Model
attributes, Amazon Web Services IoT FleetWise will enrich the protobuf encoded payload with those attributes in theextraDimensions
field.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dataExtraDimensions
A list of vehicle attributes to associate with the payload published on the state template's MQTT topic. (See Processing last known state vehicle data using MQTT messaging). For example, if you add
Vehicle.Attributes.Make
andVehicle.Attributes.Model
attributes, Amazon Web Services IoT FleetWise will enrich the protobuf encoded payload with those attributes in theextraDimensions
field.- Parameters:
dataExtraDimensions
- A list of vehicle attributes to associate with the payload published on the state template's MQTT topic. (See Processing last known state vehicle data using MQTT messaging). For example, if you addVehicle.Attributes.Make
andVehicle.Attributes.Model
attributes, Amazon Web Services IoT FleetWise will enrich the protobuf encoded payload with those attributes in theextraDimensions
field.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
metadataExtraDimensions
CreateStateTemplateRequest.Builder metadataExtraDimensions(Collection<String> metadataExtraDimensions) A list of vehicle attributes to associate with user properties of the messages published on the state template's MQTT topic. (See Processing last known state vehicle data using MQTT messaging). For example, if you add
Vehicle.Attributes.Make
andVehicle.Attributes.Model
attributes, Amazon Web Services IoT FleetWise will include these attributes as User Properties with the MQTT message.Default: An empty array
- Parameters:
metadataExtraDimensions
- A list of vehicle attributes to associate with user properties of the messages published on the state template's MQTT topic. (See Processing last known state vehicle data using MQTT messaging). For example, if you addVehicle.Attributes.Make
andVehicle.Attributes.Model
attributes, Amazon Web Services IoT FleetWise will include these attributes as User Properties with the MQTT message.Default: An empty array
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
metadataExtraDimensions
A list of vehicle attributes to associate with user properties of the messages published on the state template's MQTT topic. (See Processing last known state vehicle data using MQTT messaging). For example, if you add
Vehicle.Attributes.Make
andVehicle.Attributes.Model
attributes, Amazon Web Services IoT FleetWise will include these attributes as User Properties with the MQTT message.Default: An empty array
- Parameters:
metadataExtraDimensions
- A list of vehicle attributes to associate with user properties of the messages published on the state template's MQTT topic. (See Processing last known state vehicle data using MQTT messaging). For example, if you addVehicle.Attributes.Make
andVehicle.Attributes.Model
attributes, Amazon Web Services IoT FleetWise will include these attributes as User Properties with the MQTT message.Default: An empty array
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
Metadata that can be used to manage the state template.
- Parameters:
tags
- Metadata that can be used to manage the state template.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
Metadata that can be used to manage the state template.
- Parameters:
tags
- Metadata that can be used to manage the state template.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
Metadata that can be used to manage the state template.
This is a convenience method that creates an instance of theTag.Builder
avoiding the need to create one manually viaTag.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totags(List<Tag>)
.- Parameters:
tags
- a consumer that will call methods onTag.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
CreateStateTemplateRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
CreateStateTemplateRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-