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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description UpdateThingGroupRequest.Builder
expectedVersion(Long expectedVersion)
The expected version of the thing group.UpdateThingGroupRequest.Builder
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
UpdateThingGroupRequest.Builder
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
UpdateThingGroupRequest.Builder
thingGroupName(String thingGroupName)
The thing group to update.default UpdateThingGroupRequest.Builder
thingGroupProperties(Consumer<ThingGroupProperties.Builder> thingGroupProperties)
The thing group properties.UpdateThingGroupRequest.Builder
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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
thingGroupName
UpdateThingGroupRequest.Builder thingGroupName(String 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
UpdateThingGroupRequest.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 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:
thingGroupProperties(ThingGroupProperties)
-
expectedVersion
UpdateThingGroupRequest.Builder expectedVersion(Long 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)
- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
-
overrideConfiguration
UpdateThingGroupRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
-
-