Interface GetDeviceResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CognitoIdentityProviderResponse.Builder,CopyableBuilder<GetDeviceResponse.Builder,GetDeviceResponse>,SdkBuilder<GetDeviceResponse.Builder,GetDeviceResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- GetDeviceResponse
public static interface GetDeviceResponse.Builder extends CognitoIdentityProviderResponse.Builder, SdkPojo, CopyableBuilder<GetDeviceResponse.Builder,GetDeviceResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default GetDeviceResponse.Builderdevice(Consumer<DeviceType.Builder> device)The device.GetDeviceResponse.Builderdevice(DeviceType device)The device.-
Methods inherited from interface software.amazon.awssdk.services.cognitoidentityprovider.model.CognitoIdentityProviderResponse.Builder
build, responseMetadata, responseMetadata
-
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.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
device
GetDeviceResponse.Builder device(DeviceType device)
The device.
- Parameters:
device- The device.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
device
default GetDeviceResponse.Builder device(Consumer<DeviceType.Builder> device)
The device.
This is a convenience method that creates an instance of theDeviceType.Builderavoiding the need to create one manually viaDeviceType.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todevice(DeviceType).- Parameters:
device- a consumer that will call methods onDeviceType.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
device(DeviceType)
-
-