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
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.iot.model.IotRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods 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_FILTER
dimensions, 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_FILTER
dimensions, 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_FILTER
dimensions, 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_FILTER
dimensions, 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.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:
-
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.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
CreateDimensionRequest.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.
-