@Generated(value="software.amazon.awssdk:codegen") public final class DeviceInstance extends Object implements SdkPojo, Serializable, ToCopyableBuilder<DeviceInstance.Builder,DeviceInstance>
Represents the device instance.
Modifier and Type | Class and Description |
---|---|
static interface |
DeviceInstance.Builder |
Modifier and Type | Method and Description |
---|---|
String |
arn()
The Amazon Resource Name (ARN) of the device instance.
|
static DeviceInstance.Builder |
builder() |
String |
deviceArn()
The Amazon Resource Name (ARN) of the device.
|
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
InstanceProfile |
instanceProfile()
A object containing information about the instance profile.
|
List<String> |
labels()
An array of strings describing the device instance.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends DeviceInstance.Builder> |
serializableBuilderClass() |
InstanceStatus |
status()
The status of the device instance.
|
String |
statusAsString()
The status of the device instance.
|
DeviceInstance.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
String |
udid()
Unique device identifier for the device instance.
|
copy
public String arn()
The Amazon Resource Name (ARN) of the device instance.
public String deviceArn()
The Amazon Resource Name (ARN) of the device.
public List<String> labels()
An array of strings describing the device instance.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public InstanceStatus status()
The status of the device instance. Valid values are listed below.
If the service returns an enum value that is not available in the current SDK version, status
will
return InstanceStatus.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
statusAsString()
.
InstanceStatus
public String statusAsString()
The status of the device instance. Valid values are listed below.
If the service returns an enum value that is not available in the current SDK version, status
will
return InstanceStatus.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
statusAsString()
.
InstanceStatus
public String udid()
Unique device identifier for the device instance.
public InstanceProfile instanceProfile()
A object containing information about the instance profile.
public DeviceInstance.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<DeviceInstance.Builder,DeviceInstance>
public static DeviceInstance.Builder builder()
public static Class<? extends DeviceInstance.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.