Class Device
- java.lang.Object
-
- software.amazon.awssdk.services.greengrass.model.Device
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<Device.Builder,Device>
@Generated("software.amazon.awssdk:codegen") public final class Device extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Device.Builder,Device>
Information about a device.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceDevice.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Device.Builderbuilder()StringcertificateArn()The ARN of the certificate associated with the device.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Stringid()A descriptive or arbitrary ID for the device.List<SdkField<?>>sdkFields()static Class<? extends Device.Builder>serializableBuilderClass()BooleansyncShadow()If true, the device's local shadow will be automatically synced with the cloud.StringthingArn()The thing ARN of the device.Device.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
-
certificateArn
public final String certificateArn()
The ARN of the certificate associated with the device.- Returns:
- The ARN of the certificate associated with the device.
-
id
public final String id()
A descriptive or arbitrary ID for the device. This value must be unique within the device definition version. Max length is 128 characters with pattern ''[a-zA-Z0-9:_-]+''.- Returns:
- A descriptive or arbitrary ID for the device. This value must be unique within the device definition version. Max length is 128 characters with pattern ''[a-zA-Z0-9:_-]+''.
-
syncShadow
public final Boolean syncShadow()
If true, the device's local shadow will be automatically synced with the cloud.- Returns:
- If true, the device's local shadow will be automatically synced with the cloud.
-
thingArn
public final String thingArn()
The thing ARN of the device.- Returns:
- The thing ARN of the device.
-
toBuilder
public Device.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<Device.Builder,Device>
-
builder
public static Device.Builder builder()
-
serializableBuilderClass
public static Class<? extends Device.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.
-
-