@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Core extends Object implements Serializable, Cloneable, StructuredPojo
Constructor and Description |
---|
Core() |
Modifier and Type | Method and Description |
---|---|
Core |
clone() |
boolean |
equals(Object obj) |
String |
getCertificateArn()
The ARN of the certificate associated with the core.
|
String |
getId()
A descriptive or arbitrary ID for the core.
|
Boolean |
getSyncShadow()
If true, the core's local shadow is automatically synced with the cloud.
|
String |
getThingArn()
The ARN of the thing which is the core.
|
int |
hashCode() |
Boolean |
isSyncShadow()
If true, the core's local shadow is automatically synced with the cloud.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCertificateArn(String certificateArn)
The ARN of the certificate associated with the core.
|
void |
setId(String id)
A descriptive or arbitrary ID for the core.
|
void |
setSyncShadow(Boolean syncShadow)
If true, the core's local shadow is automatically synced with the cloud.
|
void |
setThingArn(String thingArn)
The ARN of the thing which is the core.
|
String |
toString()
Returns a string representation of this object.
|
Core |
withCertificateArn(String certificateArn)
The ARN of the certificate associated with the core.
|
Core |
withId(String id)
A descriptive or arbitrary ID for the core.
|
Core |
withSyncShadow(Boolean syncShadow)
If true, the core's local shadow is automatically synced with the cloud.
|
Core |
withThingArn(String thingArn)
The ARN of the thing which is the core.
|
public void setCertificateArn(String certificateArn)
certificateArn
- The ARN of the certificate associated with the core.public String getCertificateArn()
public Core withCertificateArn(String certificateArn)
certificateArn
- The ARN of the certificate associated with the core.public void setId(String id)
id
- A descriptive or arbitrary ID for the core. This value must be unique within the core definition version.
Max length is 128 characters with pattern ''[a-zA-Z0-9:_-]+''.public String getId()
public Core withId(String id)
id
- A descriptive or arbitrary ID for the core. This value must be unique within the core definition version.
Max length is 128 characters with pattern ''[a-zA-Z0-9:_-]+''.public void setSyncShadow(Boolean syncShadow)
syncShadow
- If true, the core's local shadow is automatically synced with the cloud.public Boolean getSyncShadow()
public Core withSyncShadow(Boolean syncShadow)
syncShadow
- If true, the core's local shadow is automatically synced with the cloud.public Boolean isSyncShadow()
public void setThingArn(String thingArn)
thingArn
- The ARN of the thing which is the core.public String getThingArn()
public Core withThingArn(String thingArn)
thingArn
- The ARN of the thing which is the core.public String toString()
toString
in class Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.