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
-
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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
thingGroupName
CreateThingGroupRequest.Builder thingGroupName(String 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
CreateThingGroupRequest.Builder parentGroupName(String 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
CreateThingGroupRequest.Builder thingGroupProperties(ThingGroupProperties 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.Builder
avoiding the need to create one manually viaThingGroupProperties.builder()
.When the
Consumer
completes,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:
thingGroupProperties(ThingGroupProperties)
-
tags
CreateThingGroupRequest.Builder tags(Collection<Tag> 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
CreateThingGroupRequest.Builder tags(Tag... 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
CreateThingGroupRequest.Builder tags(Consumer<Tag.Builder>... tags)
Metadata which can be used to manage the thing group.
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
)
-
overrideConfiguration
CreateThingGroupRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
-
overrideConfiguration
CreateThingGroupRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
-
-