Interface CreateDimensionRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<CreateDimensionRequest.Builder,CreateDimensionRequest>
,IotRequest.Builder
,SdkBuilder<CreateDimensionRequest.Builder,CreateDimensionRequest>
,SdkPojo
,SdkRequest.Builder
- Enclosing class:
- CreateDimensionRequest
public static interface CreateDimensionRequest.Builder extends IotRequest.Builder, SdkPojo, CopyableBuilder<CreateDimensionRequest.Builder,CreateDimensionRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CreateDimensionRequest.Builder
clientRequestToken(String clientRequestToken)
Each dimension must have a unique client request token.CreateDimensionRequest.Builder
name(String name)
A unique identifier for the dimension.CreateDimensionRequest.Builder
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
CreateDimensionRequest.Builder
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
CreateDimensionRequest.Builder
stringValues(String... stringValues)
Specifies the value or list of values for the dimension.CreateDimensionRequest.Builder
stringValues(Collection<String> stringValues)
Specifies the value or list of values for the dimension.CreateDimensionRequest.Builder
tags(Collection<Tag> tags)
Metadata that can be used to manage the dimension.CreateDimensionRequest.Builder
tags(Consumer<Tag.Builder>... tags)
Metadata that can be used to manage the dimension.CreateDimensionRequest.Builder
tags(Tag... tags)
Metadata that can be used to manage the dimension.CreateDimensionRequest.Builder
type(String type)
Specifies the type of dimension.CreateDimensionRequest.Builder
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 Detail
-
name
CreateDimensionRequest.Builder name(String 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
CreateDimensionRequest.Builder type(String 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:
DimensionType
,DimensionType
-
type
CreateDimensionRequest.Builder type(DimensionType 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:
DimensionType
,DimensionType
-
stringValues
CreateDimensionRequest.Builder stringValues(Collection<String> 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
CreateDimensionRequest.Builder stringValues(String... 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
CreateDimensionRequest.Builder tags(Collection<Tag> 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
CreateDimensionRequest.Builder tags(Tag... 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
CreateDimensionRequest.Builder tags(Consumer<Tag.Builder>... 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 to#tags(List
.) - 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:
#tags(java.util.Collection
)
-
clientRequestToken
CreateDimensionRequest.Builder clientRequestToken(String 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)
- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
-
overrideConfiguration
CreateDimensionRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
-
-