@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.
|
String |
getAssetModelType()
The type of asset model.
|
Date |
getCreationDate()
The date the asset model was created, in Unix epoch time.
|
String |
getDescription()
The asset model description.
|
String |
getExternalId()
The external ID of the asset model.
|
String |
getId()
The ID of the asset model (used with IoT SiteWise API operations).
|
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 |
setAssetModelType(String assetModelType)
The type of asset model.
|
void |
setCreationDate(Date creationDate)
The date the asset model was created, in Unix epoch time.
|
void |
setDescription(String description)
The asset model description.
|
void |
setExternalId(String externalId)
The external ID of the asset model.
|
void |
setId(String id)
The ID of the asset model (used with IoT SiteWise API operations).
|
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 |
withAssetModelType(AssetModelType assetModelType)
The type of asset model.
|
AssetModelSummary |
withAssetModelType(String assetModelType)
The type of asset model.
|
AssetModelSummary |
withCreationDate(Date creationDate)
The date the asset model was created, in Unix epoch time.
|
AssetModelSummary |
withDescription(String description)
The asset model description.
|
AssetModelSummary |
withExternalId(String externalId)
The external ID of the asset model.
|
AssetModelSummary |
withId(String id)
The ID of the asset model (used with IoT SiteWise API operations).
|
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 API operations).
id
- The ID of the asset model (used with IoT SiteWise API operations).public String getId()
The ID of the asset model (used with IoT SiteWise API operations).
public AssetModelSummary withId(String id)
The ID of the asset model (used with IoT SiteWise API operations).
id
- The ID of the asset model (used with IoT SiteWise API operations).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 void setAssetModelType(String assetModelType)
The type of asset model.
ASSET_MODEL – (default) An asset model that you can use to create assets. Can't be included as a component in another asset model.
COMPONENT_MODEL – A reusable component that you can include in the composite models of other asset models. You can't create assets directly from this type of asset model.
assetModelType
- The type of asset model.
ASSET_MODEL – (default) An asset model that you can use to create assets. Can't be included as a component in another asset model.
COMPONENT_MODEL – A reusable component that you can include in the composite models of other asset models. You can't create assets directly from this type of asset model.
AssetModelType
public String getAssetModelType()
The type of asset model.
ASSET_MODEL – (default) An asset model that you can use to create assets. Can't be included as a component in another asset model.
COMPONENT_MODEL – A reusable component that you can include in the composite models of other asset models. You can't create assets directly from this type of asset model.
ASSET_MODEL – (default) An asset model that you can use to create assets. Can't be included as a component in another asset model.
COMPONENT_MODEL – A reusable component that you can include in the composite models of other asset models. You can't create assets directly from this type of asset model.
AssetModelType
public AssetModelSummary withAssetModelType(String assetModelType)
The type of asset model.
ASSET_MODEL – (default) An asset model that you can use to create assets. Can't be included as a component in another asset model.
COMPONENT_MODEL – A reusable component that you can include in the composite models of other asset models. You can't create assets directly from this type of asset model.
assetModelType
- The type of asset model.
ASSET_MODEL – (default) An asset model that you can use to create assets. Can't be included as a component in another asset model.
COMPONENT_MODEL – A reusable component that you can include in the composite models of other asset models. You can't create assets directly from this type of asset model.
AssetModelType
public AssetModelSummary withAssetModelType(AssetModelType assetModelType)
The type of asset model.
ASSET_MODEL – (default) An asset model that you can use to create assets. Can't be included as a component in another asset model.
COMPONENT_MODEL – A reusable component that you can include in the composite models of other asset models. You can't create assets directly from this type of asset model.
assetModelType
- The type of asset model.
ASSET_MODEL – (default) An asset model that you can use to create assets. Can't be included as a component in another asset model.
COMPONENT_MODEL – A reusable component that you can include in the composite models of other asset models. You can't create assets directly from this type of asset model.
AssetModelType
public void setExternalId(String externalId)
The external ID of the asset model. For more information, see Using external IDs in the IoT SiteWise User Guide.
externalId
- The external ID of the asset model. For more information, see Using
external IDs in the IoT SiteWise User Guide.public String getExternalId()
The external ID of the asset model. For more information, see Using external IDs in the IoT SiteWise User Guide.
public AssetModelSummary withExternalId(String externalId)
The external ID of the asset model. For more information, see Using external IDs in the IoT SiteWise User Guide.
externalId
- The external ID of the asset model. For more information, see Using
external IDs in the IoT SiteWise User Guide.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.