Interface UpdateThingGroupRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<UpdateThingGroupRequest.Builder,
,UpdateThingGroupRequest> IotRequest.Builder
,SdkBuilder<UpdateThingGroupRequest.Builder,
,UpdateThingGroupRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
UpdateThingGroupRequest
public static interface UpdateThingGroupRequest.Builder
extends IotRequest.Builder, SdkPojo, CopyableBuilder<UpdateThingGroupRequest.Builder,UpdateThingGroupRequest>
-
Method Summary
Modifier and TypeMethodDescriptionexpectedVersion
(Long expectedVersion) The expected version of the thing group.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.thingGroupName
(String thingGroupName) The thing group to update.default UpdateThingGroupRequest.Builder
thingGroupProperties
(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
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
-
thingGroupName
The thing group to update.
- Parameters:
thingGroupName
- The thing group to update.- 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 UpdateThingGroupRequest.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:
-
expectedVersion
The expected version of the thing group. If this does not match the version of the thing group being updated, the update will fail.
- Parameters:
expectedVersion
- The expected version of the thing group. If this does not match the version of the thing group being updated, the update will fail.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
UpdateThingGroupRequest.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
UpdateThingGroupRequest.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.
-