@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AssetModelSummary extends Object implements Serializable, Cloneable, StructuredPojo
Contains a summary of an asset model.
Constructor and Description |
---|
AssetModelSummary() |
Modifier and Type | Method and Description |
---|---|
AssetModelSummary |
clone() |
boolean |
equals(Object obj) |
String |
getArn()
The ARN of the asset
model, which has the following format.
|
Date |
getCreationDate()
The date the asset model was created, in Unix epoch time.
|
String |
getDescription()
The asset model description.
|
String |
getId()
The ID of the asset model (used with IoT SiteWise APIs).
|
Date |
getLastUpdateDate()
The date the asset model was last updated, in Unix epoch time.
|
String |
getName()
The name of the asset model.
|
AssetModelStatus |
getStatus()
The current status of the asset model.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setArn(String arn)
The ARN of the asset
model, which has the following format.
|
void |
setCreationDate(Date creationDate)
The date the asset model was created, in Unix epoch time.
|
void |
setDescription(String description)
The asset model description.
|
void |
setId(String id)
The ID of the asset model (used with IoT SiteWise APIs).
|
void |
setLastUpdateDate(Date lastUpdateDate)
The date the asset model was last updated, in Unix epoch time.
|
void |
setName(String name)
The name of the asset model.
|
void |
setStatus(AssetModelStatus status)
The current status of the asset model.
|
String |
toString()
Returns a string representation of this object.
|
AssetModelSummary |
withArn(String arn)
The ARN of the asset
model, which has the following format.
|
AssetModelSummary |
withCreationDate(Date creationDate)
The date the asset model was created, in Unix epoch time.
|
AssetModelSummary |
withDescription(String description)
The asset model description.
|
AssetModelSummary |
withId(String id)
The ID of the asset model (used with IoT SiteWise APIs).
|
AssetModelSummary |
withLastUpdateDate(Date lastUpdateDate)
The date the asset model was last updated, in Unix epoch time.
|
AssetModelSummary |
withName(String name)
The name of the asset model.
|
AssetModelSummary |
withStatus(AssetModelStatus status)
The current status of the asset model.
|
public void setId(String id)
The ID of the asset model (used with IoT SiteWise APIs).
id
- The ID of the asset model (used with IoT SiteWise APIs).public String getId()
The ID of the asset model (used with IoT SiteWise APIs).
public AssetModelSummary withId(String id)
The ID of the asset model (used with IoT SiteWise APIs).
id
- The ID of the asset model (used with IoT SiteWise APIs).public void setArn(String arn)
The ARN of the asset model, which has the following format.
arn:${Partition}:iotsitewise:${Region}:${Account}:asset-model/${AssetModelId}
arn
- The ARN of the
asset model, which has the following format.
arn:${Partition}:iotsitewise:${Region}:${Account}:asset-model/${AssetModelId}
public String getArn()
The ARN of the asset model, which has the following format.
arn:${Partition}:iotsitewise:${Region}:${Account}:asset-model/${AssetModelId}
arn:${Partition}:iotsitewise:${Region}:${Account}:asset-model/${AssetModelId}
public AssetModelSummary withArn(String arn)
The ARN of the asset model, which has the following format.
arn:${Partition}:iotsitewise:${Region}:${Account}:asset-model/${AssetModelId}
arn
- The ARN of the
asset model, which has the following format.
arn:${Partition}:iotsitewise:${Region}:${Account}:asset-model/${AssetModelId}
public void setName(String name)
The name of the asset model.
name
- The name of the asset model.public String getName()
The name of the asset model.
public AssetModelSummary withName(String name)
The name of the asset model.
name
- The name of the asset model.public void setDescription(String description)
The asset model description.
description
- The asset model description.public String getDescription()
The asset model description.
public AssetModelSummary withDescription(String description)
The asset model description.
description
- The asset model description.public void setCreationDate(Date creationDate)
The date the asset model was created, in Unix epoch time.
creationDate
- The date the asset model was created, in Unix epoch time.public Date getCreationDate()
The date the asset model was created, in Unix epoch time.
public AssetModelSummary withCreationDate(Date creationDate)
The date the asset model was created, in Unix epoch time.
creationDate
- The date the asset model was created, in Unix epoch time.public void setLastUpdateDate(Date lastUpdateDate)
The date the asset model was last updated, in Unix epoch time.
lastUpdateDate
- The date the asset model was last updated, in Unix epoch time.public Date getLastUpdateDate()
The date the asset model was last updated, in Unix epoch time.
public AssetModelSummary withLastUpdateDate(Date lastUpdateDate)
The date the asset model was last updated, in Unix epoch time.
lastUpdateDate
- The date the asset model was last updated, in Unix epoch time.public void setStatus(AssetModelStatus status)
The current status of the asset model.
status
- The current status of the asset model.public AssetModelStatus getStatus()
The current status of the asset model.
public AssetModelSummary withStatus(AssetModelStatus status)
The current status of the asset model.
status
- The current status of the asset model.public String toString()
toString
in class Object
Object.toString()
public AssetModelSummary clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.