public static interface DeviceInstance.Builder extends SdkPojo, CopyableBuilder<DeviceInstance.Builder,DeviceInstance>
Modifier and Type | Method and Description |
---|---|
DeviceInstance.Builder |
arn(String arn)
The Amazon Resource Name (ARN) of the device instance.
|
DeviceInstance.Builder |
deviceArn(String deviceArn)
The Amazon Resource Name (ARN) of the device.
|
default DeviceInstance.Builder |
instanceProfile(Consumer<InstanceProfile.Builder> instanceProfile)
A object containing information about the instance profile.
|
DeviceInstance.Builder |
instanceProfile(InstanceProfile instanceProfile)
A object containing information about the instance profile.
|
DeviceInstance.Builder |
labels(Collection<String> labels)
An array of strings describing the device instance.
|
DeviceInstance.Builder |
labels(String... labels)
An array of strings describing the device instance.
|
DeviceInstance.Builder |
status(InstanceStatus status)
The status of the device instance.
|
DeviceInstance.Builder |
status(String status)
The status of the device instance.
|
DeviceInstance.Builder |
udid(String udid)
Unique device identifier for the device instance.
|
copy
applyMutation, build
DeviceInstance.Builder arn(String arn)
The Amazon Resource Name (ARN) of the device instance.
arn
- The Amazon Resource Name (ARN) of the device instance.DeviceInstance.Builder deviceArn(String deviceArn)
The Amazon Resource Name (ARN) of the device.
deviceArn
- The Amazon Resource Name (ARN) of the device.DeviceInstance.Builder labels(Collection<String> labels)
An array of strings describing the device instance.
labels
- An array of strings describing the device instance.DeviceInstance.Builder labels(String... labels)
An array of strings describing the device instance.
labels
- An array of strings describing the device instance.DeviceInstance.Builder status(String status)
The status of the device instance. Valid values are listed below.
status
- The status of the device instance. Valid values are listed below.InstanceStatus
,
InstanceStatus
DeviceInstance.Builder status(InstanceStatus status)
The status of the device instance. Valid values are listed below.
status
- The status of the device instance. Valid values are listed below.InstanceStatus
,
InstanceStatus
DeviceInstance.Builder udid(String udid)
Unique device identifier for the device instance.
udid
- Unique device identifier for the device instance.DeviceInstance.Builder instanceProfile(InstanceProfile instanceProfile)
A object containing information about the instance profile.
instanceProfile
- A object containing information about the instance profile.default DeviceInstance.Builder instanceProfile(Consumer<InstanceProfile.Builder> instanceProfile)
A object containing information about the instance profile.
This is a convenience that creates an instance of theInstanceProfile.Builder
avoiding the need to
create one manually via InstanceProfile.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its
result is passed to instanceProfile(InstanceProfile)
.instanceProfile
- a consumer that will call methods on InstanceProfile.Builder
instanceProfile(InstanceProfile)
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.