public static interface UpdateThingGroupRequest.Builder extends IotRequest.Builder, SdkPojo, CopyableBuilder<UpdateThingGroupRequest.Builder,UpdateThingGroupRequest>
Modifier and Type | Method and Description |
---|---|
UpdateThingGroupRequest.Builder |
expectedVersion(Long expectedVersion)
The expected version of the thing group.
|
UpdateThingGroupRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
Add an optional request override configuration.
|
UpdateThingGroupRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
Add an optional request override configuration.
|
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.
|
build
overrideConfiguration
copy
applyMutation, build
UpdateThingGroupRequest.Builder thingGroupName(String thingGroupName)
The thing group to update.
thingGroupName
- The thing group to update.UpdateThingGroupRequest.Builder thingGroupProperties(ThingGroupProperties thingGroupProperties)
The thing group properties.
thingGroupProperties
- The thing group properties.default UpdateThingGroupRequest.Builder thingGroupProperties(Consumer<ThingGroupProperties.Builder> thingGroupProperties)
The thing group properties.
This is a convenience that creates an instance of theThingGroupProperties.Builder
avoiding the need
to create one manually via ThingGroupProperties.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and
its result is passed to thingGroupProperties(ThingGroupProperties)
.thingGroupProperties
- a consumer that will call methods on ThingGroupProperties.Builder
thingGroupProperties(ThingGroupProperties)
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.
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.UpdateThingGroupRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
overrideConfiguration
- The override configuration.UpdateThingGroupRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
builderConsumer
- A Consumer
to which an empty AwsRequestOverrideConfiguration.Builder
will be
given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.