Class DeviceData
- java.lang.Object
-
- software.amazon.awssdk.services.alexaforbusiness.model.DeviceData
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<DeviceData.Builder,DeviceData>
@Generated("software.amazon.awssdk:codegen") public final class DeviceData extends Object implements SdkPojo, Serializable, ToCopyableBuilder<DeviceData.Builder,DeviceData>
Device attributes.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceDeviceData.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DeviceData.Builderbuilder()InstantcreatedTime()The time (in epoch) when the device data was created.StringdeviceArn()The ARN of a device.StringdeviceName()The name of a device.StringdeviceSerialNumber()The serial number of a device.DeviceStatusdeviceStatus()The status of a device.StringdeviceStatusAsString()The status of a device.DeviceStatusInfodeviceStatusInfo()Detailed information about a device's status.StringdeviceType()The type of a device.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringmacAddress()The MAC address of a device.StringnetworkProfileArn()The ARN of the network profile associated with a device.StringnetworkProfileName()The name of the network profile associated with a device.StringroomArn()The room ARN associated with a device.StringroomName()The name of the room associated with a device.List<SdkField<?>>sdkFields()static Class<? extends DeviceData.Builder>serializableBuilderClass()StringsoftwareVersion()The software version of a device.DeviceData.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
deviceArn
public final String deviceArn()
The ARN of a device.
- Returns:
- The ARN of a device.
-
deviceSerialNumber
public final String deviceSerialNumber()
The serial number of a device.
- Returns:
- The serial number of a device.
-
deviceType
public final String deviceType()
The type of a device.
- Returns:
- The type of a device.
-
deviceName
public final String deviceName()
The name of a device.
- Returns:
- The name of a device.
-
softwareVersion
public final String softwareVersion()
The software version of a device.
- Returns:
- The software version of a device.
-
macAddress
public final String macAddress()
The MAC address of a device.
- Returns:
- The MAC address of a device.
-
deviceStatus
public final DeviceStatus deviceStatus()
The status of a device.
If the service returns an enum value that is not available in the current SDK version,
deviceStatuswill returnDeviceStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromdeviceStatusAsString().- Returns:
- The status of a device.
- See Also:
DeviceStatus
-
deviceStatusAsString
public final String deviceStatusAsString()
The status of a device.
If the service returns an enum value that is not available in the current SDK version,
deviceStatuswill returnDeviceStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromdeviceStatusAsString().- Returns:
- The status of a device.
- See Also:
DeviceStatus
-
networkProfileArn
public final String networkProfileArn()
The ARN of the network profile associated with a device.
- Returns:
- The ARN of the network profile associated with a device.
-
networkProfileName
public final String networkProfileName()
The name of the network profile associated with a device.
- Returns:
- The name of the network profile associated with a device.
-
roomArn
public final String roomArn()
The room ARN associated with a device.
- Returns:
- The room ARN associated with a device.
-
roomName
public final String roomName()
The name of the room associated with a device.
- Returns:
- The name of the room associated with a device.
-
deviceStatusInfo
public final DeviceStatusInfo deviceStatusInfo()
Detailed information about a device's status.
- Returns:
- Detailed information about a device's status.
-
createdTime
public final Instant createdTime()
The time (in epoch) when the device data was created.
- Returns:
- The time (in epoch) when the device data was created.
-
toBuilder
public DeviceData.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<DeviceData.Builder,DeviceData>
-
builder
public static DeviceData.Builder builder()
-
serializableBuilderClass
public static Class<? extends DeviceData.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-