@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.
|
List<AssetCompositeModel> |
getAssetCompositeModels()
The composite models for the asset.
|
List<AssetCompositeModelSummary> |
getAssetCompositeModelSummaries()
The list of the immediate child custom composite model summaries for the asset.
|
Date |
getAssetCreationDate()
The date the asset was created, in Unix epoch time.
|
String |
getAssetDescription()
A description for the asset.
|
String |
getAssetExternalId()
The external ID of the asset, if any.
|
List<AssetHierarchy> |
getAssetHierarchies()
A list of asset hierarchies that each contain a
hierarchyId . |
String |
getAssetId()
The ID of the asset, in UUID format.
|
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 |
setAssetCompositeModels(Collection<AssetCompositeModel> assetCompositeModels)
The composite models for the asset.
|
void |
setAssetCompositeModelSummaries(Collection<AssetCompositeModelSummary> assetCompositeModelSummaries)
The list of the immediate child custom composite model summaries for the asset.
|
void |
setAssetCreationDate(Date assetCreationDate)
The date the asset was created, in Unix epoch time.
|
void |
setAssetDescription(String assetDescription)
A description for the asset.
|
void |
setAssetExternalId(String assetExternalId)
The external ID of the asset, if any.
|
void |
setAssetHierarchies(Collection<AssetHierarchy> assetHierarchies)
A list of asset hierarchies that each contain a
hierarchyId . |
void |
setAssetId(String assetId)
The ID of the asset, in UUID format.
|
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 |
withAssetCompositeModels(AssetCompositeModel... assetCompositeModels)
The composite models for the asset.
|
DescribeAssetResult |
withAssetCompositeModels(Collection<AssetCompositeModel> assetCompositeModels)
The composite models for the asset.
|
DescribeAssetResult |
withAssetCompositeModelSummaries(AssetCompositeModelSummary... assetCompositeModelSummaries)
The list of the immediate child custom composite model summaries for the asset.
|
DescribeAssetResult |
withAssetCompositeModelSummaries(Collection<AssetCompositeModelSummary> assetCompositeModelSummaries)
The list of the immediate child custom composite model summaries for the asset.
|
DescribeAssetResult |
withAssetCreationDate(Date assetCreationDate)
The date the asset was created, in Unix epoch time.
|
DescribeAssetResult |
withAssetDescription(String assetDescription)
A description for the asset.
|
DescribeAssetResult |
withAssetExternalId(String assetExternalId)
The external ID of the asset, if any.
|
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, in UUID format.
|
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, in UUID format.
assetId
- The ID of the asset, in UUID format.public String getAssetId()
The ID of the asset, in UUID format.
public DescribeAssetResult withAssetId(String assetId)
The ID of the asset, in UUID format.
assetId
- The ID of the asset, in UUID format.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.
This object doesn't include properties that you define in composite models. You can find composite model
properties in the assetCompositeModels
object.
This object doesn't include properties that you define in composite models. You can find composite model
properties in the assetCompositeModels
object.
public void setAssetProperties(Collection<AssetProperty> assetProperties)
The list of asset properties for the asset.
This object doesn't include properties that you define in composite models. You can find composite model
properties in the assetCompositeModels
object.
assetProperties
- The list of asset properties for the asset.
This object doesn't include properties that you define in composite models. You can find composite model
properties in the assetCompositeModels
object.
public DescribeAssetResult withAssetProperties(AssetProperty... assetProperties)
The list of asset properties for the asset.
This object doesn't include properties that you define in composite models. You can find composite model
properties in the assetCompositeModels
object.
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.
This object doesn't include properties that you define in composite models. You can find composite model
properties in the assetCompositeModels
object.
public DescribeAssetResult withAssetProperties(Collection<AssetProperty> assetProperties)
The list of asset properties for the asset.
This object doesn't include properties that you define in composite models. You can find composite model
properties in the assetCompositeModels
object.
assetProperties
- The list of asset properties for the asset.
This object doesn't include properties that you define in composite models. You can find composite model
properties in the assetCompositeModels
object.
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 List<AssetCompositeModel> getAssetCompositeModels()
The composite models for the asset.
public void setAssetCompositeModels(Collection<AssetCompositeModel> assetCompositeModels)
The composite models for the asset.
assetCompositeModels
- The composite models for the asset.public DescribeAssetResult withAssetCompositeModels(AssetCompositeModel... assetCompositeModels)
The composite models for the asset.
NOTE: This method appends the values to the existing list (if any). Use
setAssetCompositeModels(java.util.Collection)
or withAssetCompositeModels(java.util.Collection)
if you want to override the existing values.
assetCompositeModels
- The composite models for the asset.public DescribeAssetResult withAssetCompositeModels(Collection<AssetCompositeModel> assetCompositeModels)
The composite models for the asset.
assetCompositeModels
- The composite models for the asset.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 void setAssetDescription(String assetDescription)
A description for the asset.
assetDescription
- A description for the asset.public String getAssetDescription()
A description for the asset.
public DescribeAssetResult withAssetDescription(String assetDescription)
A description for the asset.
assetDescription
- A description for the asset.public List<AssetCompositeModelSummary> getAssetCompositeModelSummaries()
The list of the immediate child custom composite model summaries for the asset.
public void setAssetCompositeModelSummaries(Collection<AssetCompositeModelSummary> assetCompositeModelSummaries)
The list of the immediate child custom composite model summaries for the asset.
assetCompositeModelSummaries
- The list of the immediate child custom composite model summaries for the asset.public DescribeAssetResult withAssetCompositeModelSummaries(AssetCompositeModelSummary... assetCompositeModelSummaries)
The list of the immediate child custom composite model summaries for the asset.
NOTE: This method appends the values to the existing list (if any). Use
setAssetCompositeModelSummaries(java.util.Collection)
or
withAssetCompositeModelSummaries(java.util.Collection)
if you want to override the existing values.
assetCompositeModelSummaries
- The list of the immediate child custom composite model summaries for the asset.public DescribeAssetResult withAssetCompositeModelSummaries(Collection<AssetCompositeModelSummary> assetCompositeModelSummaries)
The list of the immediate child custom composite model summaries for the asset.
assetCompositeModelSummaries
- The list of the immediate child custom composite model summaries for the asset.public void setAssetExternalId(String assetExternalId)
The external ID of the asset, if any.
assetExternalId
- The external ID of the asset, if any.public String getAssetExternalId()
The external ID of the asset, if any.
public DescribeAssetResult withAssetExternalId(String assetExternalId)
The external ID of the asset, if any.
assetExternalId
- The external ID of the asset, if any.public String toString()
toString
in class Object
Object.toString()
public DescribeAssetResult clone()