@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AssetModelHierarchy extends Object implements Serializable, Cloneable, StructuredPojo
Describes an asset hierarchy that contains a hierarchy's name, ID, and child asset model ID that specifies the type of asset that can be in this hierarchy.
| Constructor and Description |
|---|
AssetModelHierarchy() |
| Modifier and Type | Method and Description |
|---|---|
AssetModelHierarchy |
clone() |
boolean |
equals(Object obj) |
String |
getChildAssetModelId()
The ID of the asset model.
|
String |
getId()
The ID of the asset model hierarchy.
|
String |
getName()
The name of the asset model hierarchy that you specify by using the CreateAssetModel or UpdateAssetModel API.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setChildAssetModelId(String childAssetModelId)
The ID of the asset model.
|
void |
setId(String id)
The ID of the asset model hierarchy.
|
void |
setName(String name)
The name of the asset model hierarchy that you specify by using the CreateAssetModel or UpdateAssetModel API.
|
String |
toString()
Returns a string representation of this object.
|
AssetModelHierarchy |
withChildAssetModelId(String childAssetModelId)
The ID of the asset model.
|
AssetModelHierarchy |
withId(String id)
The ID of the asset model hierarchy.
|
AssetModelHierarchy |
withName(String name)
The name of the asset model hierarchy that you specify by using the CreateAssetModel or UpdateAssetModel API.
|
public void setId(String id)
The ID of the asset model hierarchy. This ID is a hierarchyId.
id - The ID of the asset model hierarchy. This ID is a hierarchyId.public String getId()
The ID of the asset model hierarchy. This ID is a hierarchyId.
hierarchyId.public AssetModelHierarchy withId(String id)
The ID of the asset model hierarchy. This ID is a hierarchyId.
id - The ID of the asset model hierarchy. This ID is a hierarchyId.public void setName(String name)
The name of the asset model hierarchy that you specify by using the CreateAssetModel or UpdateAssetModel API.
name - The name of the asset model hierarchy that you specify by using the CreateAssetModel or UpdateAssetModel API.public String getName()
The name of the asset model hierarchy that you specify by using the CreateAssetModel or UpdateAssetModel API.
public AssetModelHierarchy withName(String name)
The name of the asset model hierarchy that you specify by using the CreateAssetModel or UpdateAssetModel API.
name - The name of the asset model hierarchy that you specify by using the CreateAssetModel or UpdateAssetModel API.public void setChildAssetModelId(String childAssetModelId)
The ID of the asset model. All assets in this hierarchy must be instances of the childAssetModelId
asset model.
childAssetModelId - The ID of the asset model. All assets in this hierarchy must be instances of the
childAssetModelId asset model.public String getChildAssetModelId()
The ID of the asset model. All assets in this hierarchy must be instances of the childAssetModelId
asset model.
childAssetModelId asset model.public AssetModelHierarchy withChildAssetModelId(String childAssetModelId)
The ID of the asset model. All assets in this hierarchy must be instances of the childAssetModelId
asset model.
childAssetModelId - The ID of the asset model. All assets in this hierarchy must be instances of the
childAssetModelId asset model.public String toString()
toString in class ObjectObject.toString()public AssetModelHierarchy clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2020. All rights reserved.