Class DeviceStatusDetail
- java.lang.Object
-
- software.amazon.awssdk.services.alexaforbusiness.model.DeviceStatusDetail
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<DeviceStatusDetail.Builder,DeviceStatusDetail>
@Generated("software.amazon.awssdk:codegen") public final class DeviceStatusDetail extends Object implements SdkPojo, Serializable, ToCopyableBuilder<DeviceStatusDetail.Builder,DeviceStatusDetail>
Details of a device’s status.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceDeviceStatusDetail.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DeviceStatusDetail.Builderbuilder()DeviceStatusDetailCodecode()The device status detail code.StringcodeAsString()The device status detail code.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)Featurefeature()The list of available features on the device.StringfeatureAsString()The list of available features on the device.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()List<SdkField<?>>sdkFields()static Class<? extends DeviceStatusDetail.Builder>serializableBuilderClass()DeviceStatusDetail.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
-
feature
public final Feature feature()
The list of available features on the device.
If the service returns an enum value that is not available in the current SDK version,
featurewill returnFeature.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromfeatureAsString().- Returns:
- The list of available features on the device.
- See Also:
Feature
-
featureAsString
public final String featureAsString()
The list of available features on the device.
If the service returns an enum value that is not available in the current SDK version,
featurewill returnFeature.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromfeatureAsString().- Returns:
- The list of available features on the device.
- See Also:
Feature
-
code
public final DeviceStatusDetailCode code()
The device status detail code.
If the service returns an enum value that is not available in the current SDK version,
codewill returnDeviceStatusDetailCode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromcodeAsString().- Returns:
- The device status detail code.
- See Also:
DeviceStatusDetailCode
-
codeAsString
public final String codeAsString()
The device status detail code.
If the service returns an enum value that is not available in the current SDK version,
codewill returnDeviceStatusDetailCode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromcodeAsString().- Returns:
- The device status detail code.
- See Also:
DeviceStatusDetailCode
-
toBuilder
public DeviceStatusDetail.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<DeviceStatusDetail.Builder,DeviceStatusDetail>
-
builder
public static DeviceStatusDetail.Builder builder()
-
serializableBuilderClass
public static Class<? extends DeviceStatusDetail.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.
-
-