@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.
|
List<AssetModelCompositeModel> |
getAssetModelCompositeModels()
The list of built-in composite models for the asset model, such as those with those of type
AWS/ALARMS . |
List<AssetModelCompositeModelSummary> |
getAssetModelCompositeModelSummaries()
The list of the immediate child custom composite model summaries for the asset model.
|
Date |
getAssetModelCreationDate()
The date the asset model was created, in Unix epoch time.
|
String |
getAssetModelDescription()
The asset model's description.
|
String |
getAssetModelExternalId()
The external ID of the asset model, if any.
|
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, in UUID format.
|
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.
|
String |
getAssetModelType()
The type of asset model.
|
int |
hashCode() |
void |
setAssetModelArn(String assetModelArn)
The ARN of the asset
model, which has the following format.
|
void |
setAssetModelCompositeModels(Collection<AssetModelCompositeModel> assetModelCompositeModels)
The list of built-in composite models for the asset model, such as those with those of type
AWS/ALARMS . |
void |
setAssetModelCompositeModelSummaries(Collection<AssetModelCompositeModelSummary> assetModelCompositeModelSummaries)
The list of the immediate child custom composite model summaries for the asset model.
|
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 |
setAssetModelExternalId(String assetModelExternalId)
The external ID of the asset model, if any.
|
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, in UUID format.
|
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.
|
void |
setAssetModelType(String assetModelType)
The type of asset model.
|
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 |
withAssetModelCompositeModels(AssetModelCompositeModel... assetModelCompositeModels)
The list of built-in composite models for the asset model, such as those with those of type
AWS/ALARMS . |
DescribeAssetModelResult |
withAssetModelCompositeModels(Collection<AssetModelCompositeModel> assetModelCompositeModels)
The list of built-in composite models for the asset model, such as those with those of type
AWS/ALARMS . |
DescribeAssetModelResult |
withAssetModelCompositeModelSummaries(AssetModelCompositeModelSummary... assetModelCompositeModelSummaries)
The list of the immediate child custom composite model summaries for the asset model.
|
DescribeAssetModelResult |
withAssetModelCompositeModelSummaries(Collection<AssetModelCompositeModelSummary> assetModelCompositeModelSummaries)
The list of the immediate child custom composite model summaries for the asset model.
|
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 |
withAssetModelExternalId(String assetModelExternalId)
The external ID of the asset model, if any.
|
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, in UUID format.
|
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.
|
DescribeAssetModelResult |
withAssetModelType(AssetModelType assetModelType)
The type of asset model.
|
DescribeAssetModelResult |
withAssetModelType(String assetModelType)
The type of asset model.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setAssetModelId(String assetModelId)
The ID of the asset model, in UUID format.
assetModelId
- The ID of the asset model, in UUID format.public String getAssetModelId()
The ID of the asset model, in UUID format.
public DescribeAssetModelResult withAssetModelId(String assetModelId)
The ID of the asset model, in UUID format.
assetModelId
- The ID of the asset model, in UUID format.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.
This object doesn't include properties that you define in composite models. You can find composite model
properties in the assetModelCompositeModels
object.
This object doesn't include properties that you define in composite models. You can find composite model
properties in the assetModelCompositeModels
object.
public void setAssetModelProperties(Collection<AssetModelProperty> assetModelProperties)
The list of asset properties for the asset model.
This object doesn't include properties that you define in composite models. You can find composite model
properties in the assetModelCompositeModels
object.
assetModelProperties
- The list of asset properties for the asset model.
This object doesn't include properties that you define in composite models. You can find composite model
properties in the assetModelCompositeModels
object.
public DescribeAssetModelResult withAssetModelProperties(AssetModelProperty... assetModelProperties)
The list of asset properties for the asset model.
This object doesn't include properties that you define in composite models. You can find composite model
properties in the assetModelCompositeModels
object.
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.
This object doesn't include properties that you define in composite models. You can find composite model
properties in the assetModelCompositeModels
object.
public DescribeAssetModelResult withAssetModelProperties(Collection<AssetModelProperty> assetModelProperties)
The list of asset properties for the asset model.
This object doesn't include properties that you define in composite models. You can find composite model
properties in the assetModelCompositeModels
object.
assetModelProperties
- The list of asset properties for the asset model.
This object doesn't include properties that you define in composite models. You can find composite model
properties in the assetModelCompositeModels
object.
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 List<AssetModelCompositeModel> getAssetModelCompositeModels()
The list of built-in composite models for the asset model, such as those with those of type
AWS/ALARMS
.
AWS/ALARMS
.public void setAssetModelCompositeModels(Collection<AssetModelCompositeModel> assetModelCompositeModels)
The list of built-in composite models for the asset model, such as those with those of type
AWS/ALARMS
.
assetModelCompositeModels
- The list of built-in composite models for the asset model, such as those with those of type
AWS/ALARMS
.public DescribeAssetModelResult withAssetModelCompositeModels(AssetModelCompositeModel... assetModelCompositeModels)
The list of built-in composite models for the asset model, such as those with those of type
AWS/ALARMS
.
NOTE: This method appends the values to the existing list (if any). Use
setAssetModelCompositeModels(java.util.Collection)
or
withAssetModelCompositeModels(java.util.Collection)
if you want to override the existing values.
assetModelCompositeModels
- The list of built-in composite models for the asset model, such as those with those of type
AWS/ALARMS
.public DescribeAssetModelResult withAssetModelCompositeModels(Collection<AssetModelCompositeModel> assetModelCompositeModels)
The list of built-in composite models for the asset model, such as those with those of type
AWS/ALARMS
.
assetModelCompositeModels
- The list of built-in composite models for the asset model, such as those with those of type
AWS/ALARMS
.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 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 DescribeAssetModelResult 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 DescribeAssetModelResult 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 List<AssetModelCompositeModelSummary> getAssetModelCompositeModelSummaries()
The list of the immediate child custom composite model summaries for the asset model.
public void setAssetModelCompositeModelSummaries(Collection<AssetModelCompositeModelSummary> assetModelCompositeModelSummaries)
The list of the immediate child custom composite model summaries for the asset model.
assetModelCompositeModelSummaries
- The list of the immediate child custom composite model summaries for the asset model.public DescribeAssetModelResult withAssetModelCompositeModelSummaries(AssetModelCompositeModelSummary... assetModelCompositeModelSummaries)
The list of the immediate child custom composite model summaries for the asset model.
NOTE: This method appends the values to the existing list (if any). Use
setAssetModelCompositeModelSummaries(java.util.Collection)
or
withAssetModelCompositeModelSummaries(java.util.Collection)
if you want to override the existing values.
assetModelCompositeModelSummaries
- The list of the immediate child custom composite model summaries for the asset model.public DescribeAssetModelResult withAssetModelCompositeModelSummaries(Collection<AssetModelCompositeModelSummary> assetModelCompositeModelSummaries)
The list of the immediate child custom composite model summaries for the asset model.
assetModelCompositeModelSummaries
- The list of the immediate child custom composite model summaries for the asset model.public void setAssetModelExternalId(String assetModelExternalId)
The external ID of the asset model, if any.
assetModelExternalId
- The external ID of the asset model, if any.public String getAssetModelExternalId()
The external ID of the asset model, if any.
public DescribeAssetModelResult withAssetModelExternalId(String assetModelExternalId)
The external ID of the asset model, if any.
assetModelExternalId
- The external ID of the asset model, if any.public String toString()
toString
in class Object
Object.toString()
public DescribeAssetModelResult clone()