Interface AdminGetDeviceResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CognitoIdentityProviderResponse.Builder,CopyableBuilder<AdminGetDeviceResponse.Builder,AdminGetDeviceResponse>,SdkBuilder<AdminGetDeviceResponse.Builder,AdminGetDeviceResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- AdminGetDeviceResponse
public static interface AdminGetDeviceResponse.Builder extends CognitoIdentityProviderResponse.Builder, SdkPojo, CopyableBuilder<AdminGetDeviceResponse.Builder,AdminGetDeviceResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default AdminGetDeviceResponse.Builderdevice(Consumer<DeviceType.Builder> device)Details of the requested device.AdminGetDeviceResponse.Builderdevice(DeviceType device)Details of the requested 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, sdkFieldNameToField, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
device
AdminGetDeviceResponse.Builder device(DeviceType device)
Details of the requested device. Includes device information, last-accessed and created dates, and the device key.
- Parameters:
device- Details of the requested device. Includes device information, last-accessed and created dates, and the device key.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
device
default AdminGetDeviceResponse.Builder device(Consumer<DeviceType.Builder> device)
Details of the requested device. Includes device information, last-accessed and created dates, and the device key.
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)
-
-