@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeAssetResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
DescribeAssetResult() |
Modifier and Type | Method and Description |
---|---|
DescribeAssetResult |
clone() |
boolean |
equals(Object obj) |
String |
getAssetArn()
The ARN of the asset,
which has the following format.
|
Date |
getAssetCreationDate()
The date the asset was created, in Unix epoch time.
|
List<AssetHierarchy> |
getAssetHierarchies()
A list of asset hierarchies that each contain a
hierarchyId . |
String |
getAssetId()
The ID of the asset.
|
Date |
getAssetLastUpdateDate()
The date the asset was last updated, in Unix epoch time.
|
String |
getAssetModelId()
The ID of the asset model that was used to create the asset.
|
String |
getAssetName()
The name of the asset.
|
List<AssetProperty> |
getAssetProperties()
The list of asset properties for the asset.
|
AssetStatus |
getAssetStatus()
The current status of the asset, which contains a state and any error message.
|
int |
hashCode() |
void |
setAssetArn(String assetArn)
The ARN of the asset,
which has the following format.
|
void |
setAssetCreationDate(Date assetCreationDate)
The date the asset was created, in Unix epoch time.
|
void |
setAssetHierarchies(Collection<AssetHierarchy> assetHierarchies)
A list of asset hierarchies that each contain a
hierarchyId . |
void |
setAssetId(String assetId)
The ID of the asset.
|
void |
setAssetLastUpdateDate(Date assetLastUpdateDate)
The date the asset was last updated, in Unix epoch time.
|
void |
setAssetModelId(String assetModelId)
The ID of the asset model that was used to create the asset.
|
void |
setAssetName(String assetName)
The name of the asset.
|
void |
setAssetProperties(Collection<AssetProperty> assetProperties)
The list of asset properties for the asset.
|
void |
setAssetStatus(AssetStatus assetStatus)
The current status of the asset, which contains a state and any error message.
|
String |
toString()
Returns a string representation of this object.
|
DescribeAssetResult |
withAssetArn(String assetArn)
The ARN of the asset,
which has the following format.
|
DescribeAssetResult |
withAssetCreationDate(Date assetCreationDate)
The date the asset was created, in Unix epoch time.
|
DescribeAssetResult |
withAssetHierarchies(AssetHierarchy... assetHierarchies)
A list of asset hierarchies that each contain a
hierarchyId . |
DescribeAssetResult |
withAssetHierarchies(Collection<AssetHierarchy> assetHierarchies)
A list of asset hierarchies that each contain a
hierarchyId . |
DescribeAssetResult |
withAssetId(String assetId)
The ID of the asset.
|
DescribeAssetResult |
withAssetLastUpdateDate(Date assetLastUpdateDate)
The date the asset was last updated, in Unix epoch time.
|
DescribeAssetResult |
withAssetModelId(String assetModelId)
The ID of the asset model that was used to create the asset.
|
DescribeAssetResult |
withAssetName(String assetName)
The name of the asset.
|
DescribeAssetResult |
withAssetProperties(AssetProperty... assetProperties)
The list of asset properties for the asset.
|
DescribeAssetResult |
withAssetProperties(Collection<AssetProperty> assetProperties)
The list of asset properties for the asset.
|
DescribeAssetResult |
withAssetStatus(AssetStatus assetStatus)
The current status of the asset, which contains a state and any error message.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setAssetId(String assetId)
The ID of the asset.
assetId
- The ID of the asset.public String getAssetId()
The ID of the asset.
public DescribeAssetResult withAssetId(String assetId)
The ID of the asset.
assetId
- The ID of the asset.public void setAssetArn(String assetArn)
The ARN of the asset, which has the following format.
arn:${Partition}:iotsitewise:${Region}:${Account}:asset/${AssetId}
assetArn
- The ARN of the
asset, which has the following format.
arn:${Partition}:iotsitewise:${Region}:${Account}:asset/${AssetId}
public String getAssetArn()
The ARN of the asset, which has the following format.
arn:${Partition}:iotsitewise:${Region}:${Account}:asset/${AssetId}
arn:${Partition}:iotsitewise:${Region}:${Account}:asset/${AssetId}
public DescribeAssetResult withAssetArn(String assetArn)
The ARN of the asset, which has the following format.
arn:${Partition}:iotsitewise:${Region}:${Account}:asset/${AssetId}
assetArn
- The ARN of the
asset, which has the following format.
arn:${Partition}:iotsitewise:${Region}:${Account}:asset/${AssetId}
public void setAssetName(String assetName)
The name of the asset.
assetName
- The name of the asset.public String getAssetName()
The name of the asset.
public DescribeAssetResult withAssetName(String assetName)
The name of the asset.
assetName
- The name of the asset.public void setAssetModelId(String assetModelId)
The ID of the asset model that was used to create the asset.
assetModelId
- The ID of the asset model that was used to create the asset.public String getAssetModelId()
The ID of the asset model that was used to create the asset.
public DescribeAssetResult withAssetModelId(String assetModelId)
The ID of the asset model that was used to create the asset.
assetModelId
- The ID of the asset model that was used to create the asset.public List<AssetProperty> getAssetProperties()
The list of asset properties for the asset.
public void setAssetProperties(Collection<AssetProperty> assetProperties)
The list of asset properties for the asset.
assetProperties
- The list of asset properties for the asset.public DescribeAssetResult withAssetProperties(AssetProperty... assetProperties)
The list of asset properties for the asset.
NOTE: This method appends the values to the existing list (if any). Use
setAssetProperties(java.util.Collection)
or withAssetProperties(java.util.Collection)
if you
want to override the existing values.
assetProperties
- The list of asset properties for the asset.public DescribeAssetResult withAssetProperties(Collection<AssetProperty> assetProperties)
The list of asset properties for the asset.
assetProperties
- The list of asset properties for the asset.public List<AssetHierarchy> getAssetHierarchies()
A list of asset hierarchies that each contain a hierarchyId
. A hierarchy specifies allowed
parent/child asset relationships.
hierarchyId
. A hierarchy specifies allowed
parent/child asset relationships.public void setAssetHierarchies(Collection<AssetHierarchy> assetHierarchies)
A list of asset hierarchies that each contain a hierarchyId
. A hierarchy specifies allowed
parent/child asset relationships.
assetHierarchies
- A list of asset hierarchies that each contain a hierarchyId
. A hierarchy specifies allowed
parent/child asset relationships.public DescribeAssetResult withAssetHierarchies(AssetHierarchy... assetHierarchies)
A list of asset hierarchies that each contain a hierarchyId
. A hierarchy specifies allowed
parent/child asset relationships.
NOTE: This method appends the values to the existing list (if any). Use
setAssetHierarchies(java.util.Collection)
or withAssetHierarchies(java.util.Collection)
if you
want to override the existing values.
assetHierarchies
- A list of asset hierarchies that each contain a hierarchyId
. A hierarchy specifies allowed
parent/child asset relationships.public DescribeAssetResult withAssetHierarchies(Collection<AssetHierarchy> assetHierarchies)
A list of asset hierarchies that each contain a hierarchyId
. A hierarchy specifies allowed
parent/child asset relationships.
assetHierarchies
- A list of asset hierarchies that each contain a hierarchyId
. A hierarchy specifies allowed
parent/child asset relationships.public void setAssetCreationDate(Date assetCreationDate)
The date the asset was created, in Unix epoch time.
assetCreationDate
- The date the asset was created, in Unix epoch time.public Date getAssetCreationDate()
The date the asset was created, in Unix epoch time.
public DescribeAssetResult withAssetCreationDate(Date assetCreationDate)
The date the asset was created, in Unix epoch time.
assetCreationDate
- The date the asset was created, in Unix epoch time.public void setAssetLastUpdateDate(Date assetLastUpdateDate)
The date the asset was last updated, in Unix epoch time.
assetLastUpdateDate
- The date the asset was last updated, in Unix epoch time.public Date getAssetLastUpdateDate()
The date the asset was last updated, in Unix epoch time.
public DescribeAssetResult withAssetLastUpdateDate(Date assetLastUpdateDate)
The date the asset was last updated, in Unix epoch time.
assetLastUpdateDate
- The date the asset was last updated, in Unix epoch time.public void setAssetStatus(AssetStatus assetStatus)
The current status of the asset, which contains a state and any error message.
assetStatus
- The current status of the asset, which contains a state and any error message.public AssetStatus getAssetStatus()
The current status of the asset, which contains a state and any error message.
public DescribeAssetResult withAssetStatus(AssetStatus assetStatus)
The current status of the asset, which contains a state and any error message.
assetStatus
- The current status of the asset, which contains a state and any error message.public String toString()
toString
in class Object
Object.toString()
public DescribeAssetResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.