Interface UpdateDeviceResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<UpdateDeviceResponse.Builder,,UpdateDeviceResponse> NetworkManagerResponse.Builder,SdkBuilder<UpdateDeviceResponse.Builder,,UpdateDeviceResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
UpdateDeviceResponse
@Mutable
@NotThreadSafe
public static interface UpdateDeviceResponse.Builder
extends NetworkManagerResponse.Builder, SdkPojo, CopyableBuilder<UpdateDeviceResponse.Builder,UpdateDeviceResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondefault UpdateDeviceResponse.Builderdevice(Consumer<Device.Builder> device) Information about the device.Information about the device.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.networkmanager.model.NetworkManagerResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
device
Information about the device.
- Parameters:
device- Information about the device.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
device
Information about the device.
This is a convenience method that creates an instance of theDevice.Builderavoiding the need to create one manually viaDevice.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todevice(Device).- Parameters:
device- a consumer that will call methods onDevice.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-