Interface CreateDimensionRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateDimensionRequest.Builder,,CreateDimensionRequest> IotRequest.Builder,SdkBuilder<CreateDimensionRequest.Builder,,CreateDimensionRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
CreateDimensionRequest
-
Method Summary
Modifier and TypeMethodDescriptionclientRequestToken(String clientRequestToken) Each dimension must have a unique client request token.A unique identifier for the dimension.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.stringValues(String... stringValues) Specifies the value or list of values for the dimension.stringValues(Collection<String> stringValues) Specifies the value or list of values for the dimension.tags(Collection<Tag> tags) Metadata that can be used to manage the dimension.tags(Consumer<Tag.Builder>... tags) Metadata that can be used to manage the dimension.Metadata that can be used to manage the dimension.Specifies the type of dimension.type(DimensionType type) Specifies the type of dimension.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.iot.model.IotRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
name
A unique identifier for the dimension. Choose something that describes the type and value to make it easy to remember what it does.
- Parameters:
name- A unique identifier for the dimension. Choose something that describes the type and value to make it easy to remember what it does.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
type
Specifies the type of dimension. Supported types:
TOPIC_FILTER.- Parameters:
type- Specifies the type of dimension. Supported types:TOPIC_FILTER.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
type
Specifies the type of dimension. Supported types:
TOPIC_FILTER.- Parameters:
type- Specifies the type of dimension. Supported types:TOPIC_FILTER.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
stringValues
Specifies the value or list of values for the dimension. For
TOPIC_FILTERdimensions, this is a pattern used to match the MQTT topic (for example, "admin/#").- Parameters:
stringValues- Specifies the value or list of values for the dimension. ForTOPIC_FILTERdimensions, this is a pattern used to match the MQTT topic (for example, "admin/#").- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
stringValues
Specifies the value or list of values for the dimension. For
TOPIC_FILTERdimensions, this is a pattern used to match the MQTT topic (for example, "admin/#").- Parameters:
stringValues- Specifies the value or list of values for the dimension. ForTOPIC_FILTERdimensions, this is a pattern used to match the MQTT topic (for example, "admin/#").- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
Metadata that can be used to manage the dimension.
- Parameters:
tags- Metadata that can be used to manage the dimension.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
Metadata that can be used to manage the dimension.
- Parameters:
tags- Metadata that can be used to manage the dimension.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
Metadata that can be used to manage the dimension.
This is a convenience method that creates an instance of theTag.Builderavoiding the need to create one manually viaTag.builder().When the
Consumercompletes,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:
-
clientRequestToken
Each dimension must have a unique client request token. If you try to create a new dimension with the same token as a dimension that already exists, an exception occurs. If you omit this value, Amazon Web Services SDKs will automatically generate a unique client request.
- Parameters:
clientRequestToken- Each dimension must have a unique client request token. If you try to create a new dimension with the same token as a dimension that already exists, an exception occurs. If you omit this value, Amazon Web Services SDKs will automatically generate a unique client request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
CreateDimensionRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
CreateDimensionRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-