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.BuilderexpectedVersion(Long expectedVersion)The expected version of the thing group.UpdateThingGroupRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)UpdateThingGroupRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)UpdateThingGroupRequest.BuilderthingGroupName(String thingGroupName)The thing group to update.default UpdateThingGroupRequest.BuilderthingGroupProperties(Consumer<ThingGroupProperties.Builder> thingGroupProperties)The thing group properties.UpdateThingGroupRequest.BuilderthingGroupProperties(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 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.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:
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:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
UpdateThingGroupRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-