Interface CreateDynamicThingGroupRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateDynamicThingGroupRequest.Builder,,CreateDynamicThingGroupRequest> IotRequest.Builder,SdkBuilder<CreateDynamicThingGroupRequest.Builder,,CreateDynamicThingGroupRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
CreateDynamicThingGroupRequest
-
Method Summary
Modifier and TypeMethodDescriptionThe dynamic thing group index name.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.queryString(String queryString) The dynamic thing group search query string.queryVersion(String queryVersion) The dynamic thing group query version.tags(Collection<Tag> tags) Metadata which can be used to manage the dynamic thing group.tags(Consumer<Tag.Builder>... tags) Metadata which can be used to manage the dynamic thing group.Metadata which can be used to manage the dynamic thing group.thingGroupName(String thingGroupName) The dynamic thing group name to create.thingGroupProperties(Consumer<ThingGroupProperties.Builder> thingGroupProperties) The dynamic thing group properties.thingGroupProperties(ThingGroupProperties thingGroupProperties) The dynamic thing group properties.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, sdkFieldNameToField, sdkFields
-
Method Details
-
thingGroupName
The dynamic thing group name to create.
- Parameters:
thingGroupName- The dynamic thing group name to create.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
thingGroupProperties
CreateDynamicThingGroupRequest.Builder thingGroupProperties(ThingGroupProperties thingGroupProperties) The dynamic thing group properties.
- Parameters:
thingGroupProperties- The dynamic thing group properties.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
thingGroupProperties
default CreateDynamicThingGroupRequest.Builder thingGroupProperties(Consumer<ThingGroupProperties.Builder> thingGroupProperties) The dynamic thing group properties.
This is a convenience method that creates an instance of theThingGroupProperties.Builderavoiding the need to create one manually viaThingGroupProperties.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tothingGroupProperties(ThingGroupProperties).- Parameters:
thingGroupProperties- a consumer that will call methods onThingGroupProperties.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
indexName
The dynamic thing group index name.
Currently one index is supported:
AWS_Things.- Parameters:
indexName- The dynamic thing group index name.Currently one index is supported:
AWS_Things.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
queryString
The dynamic thing group search query string.
See Query Syntax for information about query string syntax.
- Parameters:
queryString- The dynamic thing group search query string.See Query Syntax for information about query string syntax.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
queryVersion
The dynamic thing group query version.
Currently one query version is supported: "2017-09-30". If not specified, the query version defaults to this value.
- Parameters:
queryVersion- The dynamic thing group query version.Currently one query version is supported: "2017-09-30". If not specified, the query version defaults to this value.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
Metadata which can be used to manage the dynamic thing group.
- Parameters:
tags- Metadata which can be used to manage the dynamic thing group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
Metadata which can be used to manage the dynamic thing group.
- Parameters:
tags- Metadata which can be used to manage the dynamic thing group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
Metadata which can be used to manage the dynamic thing group.
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:
-
overrideConfiguration
CreateDynamicThingGroupRequest.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
CreateDynamicThingGroupRequest.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.
-