Interface CreateThingGroupRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateThingGroupRequest.Builder,,CreateThingGroupRequest> IotRequest.Builder,SdkBuilder<CreateThingGroupRequest.Builder,,CreateThingGroupRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
CreateThingGroupRequest
public static interface CreateThingGroupRequest.Builder
extends IotRequest.Builder, SdkPojo, CopyableBuilder<CreateThingGroupRequest.Builder,CreateThingGroupRequest>
-
Method Summary
Modifier and TypeMethodDescriptionoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.parentGroupName(String parentGroupName) The name of the parent thing group.tags(Collection<Tag> tags) Metadata which can be used to manage the thing group.tags(Consumer<Tag.Builder>... tags) Metadata which can be used to manage the thing group.Metadata which can be used to manage the thing group.thingGroupName(String thingGroupName) The thing group name to create.default CreateThingGroupRequest.BuilderthingGroupProperties(Consumer<ThingGroupProperties.Builder> thingGroupProperties) The thing group properties.thingGroupProperties(ThingGroupProperties thingGroupProperties) The 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, sdkFields
-
Method Details
-
thingGroupName
The thing group name to create.
- Parameters:
thingGroupName- The thing group name to create.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
parentGroupName
The name of the parent thing group.
- Parameters:
parentGroupName- The name of the parent thing group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
thingGroupProperties
The thing group properties.
- Parameters:
thingGroupProperties- The thing group properties.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
thingGroupProperties
default CreateThingGroupRequest.Builder thingGroupProperties(Consumer<ThingGroupProperties.Builder> thingGroupProperties) The 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:
-
tags
Metadata which can be used to manage the thing group.
- Parameters:
tags- Metadata which can be used to manage the 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 thing group.
- Parameters:
tags- Metadata which can be used to manage the 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 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
CreateThingGroupRequest.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
CreateThingGroupRequest.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.
-