@Generated(value="software.amazon.awssdk:codegen") public final class SidewalkDevice extends Object implements SdkPojo, Serializable, ToCopyableBuilder<SidewalkDevice.Builder,SidewalkDevice>
Sidewalk device object.
| Modifier and Type | Class and Description |
|---|---|
static interface |
SidewalkDevice.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
amazonId()
Returns the value of the AmazonId property for this object.
|
static SidewalkDevice.Builder |
builder() |
String |
certificateId()
The ID of the Sidewalk device profile.
|
List<CertificateList> |
deviceCertificates()
The sidewalk device certificates for Ed25519 and P256r1.
|
String |
deviceProfileId()
The ID of the Sidewalk device profile.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
boolean |
hasDeviceCertificates()
For responses, this returns true if the service returned a value for the DeviceCertificates property.
|
int |
hashCode() |
boolean |
hasPrivateKeys()
For responses, this returns true if the service returned a value for the PrivateKeys property.
|
List<CertificateList> |
privateKeys()
The Sidewalk device private keys that will be used for onboarding the device.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends SidewalkDevice.Builder> |
serializableBuilderClass() |
String |
sidewalkId()
The sidewalk device identification.
|
String |
sidewalkManufacturingSn()
The Sidewalk manufacturing series number.
|
WirelessDeviceSidewalkStatus |
status()
The Sidewalk device status, such as provisioned or registered.
|
String |
statusAsString()
The Sidewalk device status, such as provisioned or registered.
|
SidewalkDevice.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String amazonId()
public final String sidewalkId()
The sidewalk device identification.
public final String sidewalkManufacturingSn()
The Sidewalk manufacturing series number.
public final boolean hasDeviceCertificates()
isEmpty() method on the property).
This is useful because the SDK will never return a null collection or map, but you may need to differentiate
between the service returning nothing (or null) and the service returning an empty collection or map. For
requests, this returns true if a value for the property was specified in the request builder, and false if a
value was not specified.public final List<CertificateList> deviceCertificates()
The sidewalk device certificates for Ed25519 and P256r1.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasDeviceCertificates() method.
public final boolean hasPrivateKeys()
isEmpty() method on the property).
This is useful because the SDK will never return a null collection or map, but you may need to differentiate
between the service returning nothing (or null) and the service returning an empty collection or map. For
requests, this returns true if a value for the property was specified in the request builder, and false if a
value was not specified.public final List<CertificateList> privateKeys()
The Sidewalk device private keys that will be used for onboarding the device.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasPrivateKeys() method.
public final String deviceProfileId()
The ID of the Sidewalk device profile.
public final String certificateId()
The ID of the Sidewalk device profile.
public final WirelessDeviceSidewalkStatus status()
The Sidewalk device status, such as provisioned or registered.
If the service returns an enum value that is not available in the current SDK version, status will
return WirelessDeviceSidewalkStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is
available from statusAsString().
WirelessDeviceSidewalkStatuspublic final String statusAsString()
The Sidewalk device status, such as provisioned or registered.
If the service returns an enum value that is not available in the current SDK version, status will
return WirelessDeviceSidewalkStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is
available from statusAsString().
WirelessDeviceSidewalkStatuspublic SidewalkDevice.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<SidewalkDevice.Builder,SidewalkDevice>public static SidewalkDevice.Builder builder()
public static Class<? extends SidewalkDevice.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.