Class DeviceSummary
- java.lang.Object
-
- software.amazon.awssdk.services.braket.model.DeviceSummary
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<DeviceSummary.Builder,DeviceSummary>
@Generated("software.amazon.awssdk:codegen") public final class DeviceSummary extends Object implements SdkPojo, Serializable, ToCopyableBuilder<DeviceSummary.Builder,DeviceSummary>
Includes information about the device.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceDeviceSummary.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DeviceSummary.Builderbuilder()StringdeviceArn()The ARN of the device.StringdeviceName()The name of the device.DeviceStatusdeviceStatus()The status of the device.StringdeviceStatusAsString()The status of the device.DeviceTypedeviceType()The type of the device.StringdeviceTypeAsString()The type of the device.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringproviderName()The provider of the device.List<SdkField<?>>sdkFields()static Class<? extends DeviceSummary.Builder>serializableBuilderClass()DeviceSummary.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 the device.
- Returns:
- The ARN of the device.
-
deviceName
public final String deviceName()
The name of the device.
- Returns:
- The name of the device.
-
deviceStatus
public final DeviceStatus deviceStatus()
The status of the 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 the device.
- See Also:
DeviceStatus
-
deviceStatusAsString
public final String deviceStatusAsString()
The status of the 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 the device.
- See Also:
DeviceStatus
-
deviceType
public final DeviceType deviceType()
The type of the device.
If the service returns an enum value that is not available in the current SDK version,
deviceTypewill returnDeviceType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromdeviceTypeAsString().- Returns:
- The type of the device.
- See Also:
DeviceType
-
deviceTypeAsString
public final String deviceTypeAsString()
The type of the device.
If the service returns an enum value that is not available in the current SDK version,
deviceTypewill returnDeviceType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromdeviceTypeAsString().- Returns:
- The type of the device.
- See Also:
DeviceType
-
providerName
public final String providerName()
The provider of the device.
- Returns:
- The provider of the device.
-
toBuilder
public DeviceSummary.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<DeviceSummary.Builder,DeviceSummary>
-
builder
public static DeviceSummary.Builder builder()
-
serializableBuilderClass
public static Class<? extends DeviceSummary.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.
-
-