Interface DeactivateDeviceIdentifierResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<DeactivateDeviceIdentifierResponse.Builder,
,DeactivateDeviceIdentifierResponse> PrivateNetworksResponse.Builder
,SdkBuilder<DeactivateDeviceIdentifierResponse.Builder,
,DeactivateDeviceIdentifierResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
DeactivateDeviceIdentifierResponse
public static interface DeactivateDeviceIdentifierResponse.Builder
extends PrivateNetworksResponse.Builder, SdkPojo, CopyableBuilder<DeactivateDeviceIdentifierResponse.Builder,DeactivateDeviceIdentifierResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondeviceIdentifier
(Consumer<DeviceIdentifier.Builder> deviceIdentifier) Information about the device identifier.deviceIdentifier
(DeviceIdentifier deviceIdentifier) Information about the device identifier.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.privatenetworks.model.PrivateNetworksResponse.Builder
build, responseMetadata, responseMetadata
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.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
deviceIdentifier
Information about the device identifier.
- Parameters:
deviceIdentifier
- Information about the device identifier.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
deviceIdentifier
default DeactivateDeviceIdentifierResponse.Builder deviceIdentifier(Consumer<DeviceIdentifier.Builder> deviceIdentifier) Information about the device identifier.
This is a convenience method that creates an instance of theDeviceIdentifier.Builder
avoiding the need to create one manually viaDeviceIdentifier.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todeviceIdentifier(DeviceIdentifier)
.- Parameters:
deviceIdentifier
- a consumer that will call methods onDeviceIdentifier.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-