Interface DeregisterDeviceRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<DeregisterDeviceRequest.Builder,DeregisterDeviceRequest>,SdkBuilder<DeregisterDeviceRequest.Builder,DeregisterDeviceRequest>,SdkPojo,SdkRequest.Builder,WorkSpacesThinClientRequest.Builder
- Enclosing class:
- DeregisterDeviceRequest
public static interface DeregisterDeviceRequest.Builder extends WorkSpacesThinClientRequest.Builder, SdkPojo, CopyableBuilder<DeregisterDeviceRequest.Builder,DeregisterDeviceRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DeregisterDeviceRequest.BuilderclientToken(String clientToken)Specifies a unique, case-sensitive identifier that you provide to ensure the idempotency of the request.DeregisterDeviceRequest.Builderid(String id)The ID of the device to deregister.DeregisterDeviceRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)DeregisterDeviceRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)DeregisterDeviceRequest.BuildertargetDeviceStatus(String targetDeviceStatus)The desired new status for the device.DeregisterDeviceRequest.BuildertargetDeviceStatus(TargetDeviceStatus targetDeviceStatus)The desired new status for the device.-
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.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Methods inherited from interface software.amazon.awssdk.services.workspacesthinclient.model.WorkSpacesThinClientRequest.Builder
build
-
-
-
-
Method Detail
-
id
DeregisterDeviceRequest.Builder id(String id)
The ID of the device to deregister.
- Parameters:
id- The ID of the device to deregister.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
targetDeviceStatus
DeregisterDeviceRequest.Builder targetDeviceStatus(String targetDeviceStatus)
The desired new status for the device.
- Parameters:
targetDeviceStatus- The desired new status for the device.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
TargetDeviceStatus,TargetDeviceStatus
-
targetDeviceStatus
DeregisterDeviceRequest.Builder targetDeviceStatus(TargetDeviceStatus targetDeviceStatus)
The desired new status for the device.
- Parameters:
targetDeviceStatus- The desired new status for the device.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
TargetDeviceStatus,TargetDeviceStatus
-
clientToken
DeregisterDeviceRequest.Builder clientToken(String clientToken)
Specifies a unique, case-sensitive identifier that you provide to ensure the idempotency of the request. This lets you safely retry the request without accidentally performing the same operation a second time. Passing the same value to a later call to an operation requires that you also pass the same value for all other parameters. We recommend that you use a UUID type of value.
If you don't provide this value, then Amazon Web Services generates a random one for you.
If you retry the operation with the same
ClientToken, but with different parameters, the retry fails with anIdempotentParameterMismatcherror.- Parameters:
clientToken- Specifies a unique, case-sensitive identifier that you provide to ensure the idempotency of the request. This lets you safely retry the request without accidentally performing the same operation a second time. Passing the same value to a later call to an operation requires that you also pass the same value for all other parameters. We recommend that you use a UUID type of value.If you don't provide this value, then Amazon Web Services generates a random one for you.
If you retry the operation with the same
ClientToken, but with different parameters, the retry fails with anIdempotentParameterMismatcherror.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
DeregisterDeviceRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
DeregisterDeviceRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-