@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeAssetModelResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
DescribeAssetModelResult() |
Modifier and Type | Method and Description |
---|---|
DescribeAssetModelResult |
clone() |
boolean |
equals(Object obj) |
String |
getAssetModelArn()
The ARN of the asset
model, which has the following format.
|
Date |
getAssetModelCreationDate()
The date the asset model was created, in Unix epoch time.
|
String |
getAssetModelDescription()
The asset model's description.
|
List<AssetModelHierarchy> |
getAssetModelHierarchies()
A list of asset model hierarchies that each contain a
childAssetModelId and a
hierarchyId (named id ). |
String |
getAssetModelId()
The ID of the asset model.
|
Date |
getAssetModelLastUpdateDate()
The date the asset model was last updated, in Unix epoch time.
|
String |
getAssetModelName()
The name of the asset model.
|
List<AssetModelProperty> |
getAssetModelProperties()
The list of asset properties for the asset model.
|
AssetModelStatus |
getAssetModelStatus()
The current status of the asset model, which contains a state and any error message.
|
int |
hashCode() |
void |
setAssetModelArn(String assetModelArn)
The ARN of the asset
model, which has the following format.
|
void |
setAssetModelCreationDate(Date assetModelCreationDate)
The date the asset model was created, in Unix epoch time.
|
void |
setAssetModelDescription(String assetModelDescription)
The asset model's description.
|
void |
setAssetModelHierarchies(Collection<AssetModelHierarchy> assetModelHierarchies)
A list of asset model hierarchies that each contain a
childAssetModelId and a
hierarchyId (named id ). |
void |
setAssetModelId(String assetModelId)
The ID of the asset model.
|
void |
setAssetModelLastUpdateDate(Date assetModelLastUpdateDate)
The date the asset model was last updated, in Unix epoch time.
|
void |
setAssetModelName(String assetModelName)
The name of the asset model.
|
void |
setAssetModelProperties(Collection<AssetModelProperty> assetModelProperties)
The list of asset properties for the asset model.
|
void |
setAssetModelStatus(AssetModelStatus assetModelStatus)
The current status of the asset model, which contains a state and any error message.
|
String |
toString()
Returns a string representation of this object.
|
DescribeAssetModelResult |
withAssetModelArn(String assetModelArn)
The ARN of the asset
model, which has the following format.
|
DescribeAssetModelResult |
withAssetModelCreationDate(Date assetModelCreationDate)
The date the asset model was created, in Unix epoch time.
|
DescribeAssetModelResult |
withAssetModelDescription(String assetModelDescription)
The asset model's description.
|
DescribeAssetModelResult |
withAssetModelHierarchies(AssetModelHierarchy... assetModelHierarchies)
A list of asset model hierarchies that each contain a
childAssetModelId and a
hierarchyId (named id ). |
DescribeAssetModelResult |
withAssetModelHierarchies(Collection<AssetModelHierarchy> assetModelHierarchies)
A list of asset model hierarchies that each contain a
childAssetModelId and a
hierarchyId (named id ). |
DescribeAssetModelResult |
withAssetModelId(String assetModelId)
The ID of the asset model.
|
DescribeAssetModelResult |
withAssetModelLastUpdateDate(Date assetModelLastUpdateDate)
The date the asset model was last updated, in Unix epoch time.
|
DescribeAssetModelResult |
withAssetModelName(String assetModelName)
The name of the asset model.
|
DescribeAssetModelResult |
withAssetModelProperties(AssetModelProperty... assetModelProperties)
The list of asset properties for the asset model.
|
DescribeAssetModelResult |
withAssetModelProperties(Collection<AssetModelProperty> assetModelProperties)
The list of asset properties for the asset model.
|
DescribeAssetModelResult |
withAssetModelStatus(AssetModelStatus assetModelStatus)
The current status of the asset model, which contains a state and any error message.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setAssetModelId(String assetModelId)
The ID of the asset model.
assetModelId
- The ID of the asset model.public String getAssetModelId()
The ID of the asset model.
public DescribeAssetModelResult withAssetModelId(String assetModelId)
The ID of the asset model.
assetModelId
- The ID of the asset model.public void setAssetModelArn(String assetModelArn)
The ARN of the asset model, which has the following format.
arn:${Partition}:iotsitewise:${Region}:${Account}:asset-model/${AssetModelId}
assetModelArn
- The ARN of the
asset model, which has the following format.
arn:${Partition}:iotsitewise:${Region}:${Account}:asset-model/${AssetModelId}
public String getAssetModelArn()
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 DescribeAssetModelResult withAssetModelArn(String assetModelArn)
The ARN of the asset model, which has the following format.
arn:${Partition}:iotsitewise:${Region}:${Account}:asset-model/${AssetModelId}
assetModelArn
- The ARN of the
asset model, which has the following format.
arn:${Partition}:iotsitewise:${Region}:${Account}:asset-model/${AssetModelId}
public void setAssetModelName(String assetModelName)
The name of the asset model.
assetModelName
- The name of the asset model.public String getAssetModelName()
The name of the asset model.
public DescribeAssetModelResult withAssetModelName(String assetModelName)
The name of the asset model.
assetModelName
- The name of the asset model.public void setAssetModelDescription(String assetModelDescription)
The asset model's description.
assetModelDescription
- The asset model's description.public String getAssetModelDescription()
The asset model's description.
public DescribeAssetModelResult withAssetModelDescription(String assetModelDescription)
The asset model's description.
assetModelDescription
- The asset model's description.public List<AssetModelProperty> getAssetModelProperties()
The list of asset properties for the asset model.
public void setAssetModelProperties(Collection<AssetModelProperty> assetModelProperties)
The list of asset properties for the asset model.
assetModelProperties
- The list of asset properties for the asset model.public DescribeAssetModelResult withAssetModelProperties(AssetModelProperty... assetModelProperties)
The list of asset properties for the asset model.
NOTE: This method appends the values to the existing list (if any). Use
setAssetModelProperties(java.util.Collection)
or withAssetModelProperties(java.util.Collection)
if you want to override the existing values.
assetModelProperties
- The list of asset properties for the asset model.public DescribeAssetModelResult withAssetModelProperties(Collection<AssetModelProperty> assetModelProperties)
The list of asset properties for the asset model.
assetModelProperties
- The list of asset properties for the asset model.public List<AssetModelHierarchy> getAssetModelHierarchies()
A list of asset model hierarchies that each contain a childAssetModelId
and a
hierarchyId
(named id
). A hierarchy specifies allowed parent/child asset relationships
for an asset model.
childAssetModelId
and a
hierarchyId
(named id
). A hierarchy specifies allowed parent/child asset
relationships for an asset model.public void setAssetModelHierarchies(Collection<AssetModelHierarchy> assetModelHierarchies)
A list of asset model hierarchies that each contain a childAssetModelId
and a
hierarchyId
(named id
). A hierarchy specifies allowed parent/child asset relationships
for an asset model.
assetModelHierarchies
- A list of asset model hierarchies that each contain a childAssetModelId
and a
hierarchyId
(named id
). A hierarchy specifies allowed parent/child asset
relationships for an asset model.public DescribeAssetModelResult withAssetModelHierarchies(AssetModelHierarchy... assetModelHierarchies)
A list of asset model hierarchies that each contain a childAssetModelId
and a
hierarchyId
(named id
). A hierarchy specifies allowed parent/child asset relationships
for an asset model.
NOTE: This method appends the values to the existing list (if any). Use
setAssetModelHierarchies(java.util.Collection)
or
withAssetModelHierarchies(java.util.Collection)
if you want to override the existing values.
assetModelHierarchies
- A list of asset model hierarchies that each contain a childAssetModelId
and a
hierarchyId
(named id
). A hierarchy specifies allowed parent/child asset
relationships for an asset model.public DescribeAssetModelResult withAssetModelHierarchies(Collection<AssetModelHierarchy> assetModelHierarchies)
A list of asset model hierarchies that each contain a childAssetModelId
and a
hierarchyId
(named id
). A hierarchy specifies allowed parent/child asset relationships
for an asset model.
assetModelHierarchies
- A list of asset model hierarchies that each contain a childAssetModelId
and a
hierarchyId
(named id
). A hierarchy specifies allowed parent/child asset
relationships for an asset model.public void setAssetModelCreationDate(Date assetModelCreationDate)
The date the asset model was created, in Unix epoch time.
assetModelCreationDate
- The date the asset model was created, in Unix epoch time.public Date getAssetModelCreationDate()
The date the asset model was created, in Unix epoch time.
public DescribeAssetModelResult withAssetModelCreationDate(Date assetModelCreationDate)
The date the asset model was created, in Unix epoch time.
assetModelCreationDate
- The date the asset model was created, in Unix epoch time.public void setAssetModelLastUpdateDate(Date assetModelLastUpdateDate)
The date the asset model was last updated, in Unix epoch time.
assetModelLastUpdateDate
- The date the asset model was last updated, in Unix epoch time.public Date getAssetModelLastUpdateDate()
The date the asset model was last updated, in Unix epoch time.
public DescribeAssetModelResult withAssetModelLastUpdateDate(Date assetModelLastUpdateDate)
The date the asset model was last updated, in Unix epoch time.
assetModelLastUpdateDate
- The date the asset model was last updated, in Unix epoch time.public void setAssetModelStatus(AssetModelStatus assetModelStatus)
The current status of the asset model, which contains a state and any error message.
assetModelStatus
- The current status of the asset model, which contains a state and any error message.public AssetModelStatus getAssetModelStatus()
The current status of the asset model, which contains a state and any error message.
public DescribeAssetModelResult withAssetModelStatus(AssetModelStatus assetModelStatus)
The current status of the asset model, which contains a state and any error message.
assetModelStatus
- The current status of the asset model, which contains a state and any error message.public String toString()
toString
in class Object
Object.toString()
public DescribeAssetModelResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.