@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AssetModelHierarchyDefinition extends Object implements Serializable, Cloneable, StructuredPojo
Contains an asset model hierarchy used in asset model creation. An asset model hierarchy determines the kind (or type) of asset that can belong to a hierarchy.
| Constructor and Description |
|---|
AssetModelHierarchyDefinition() |
| Modifier and Type | Method and Description |
|---|---|
AssetModelHierarchyDefinition |
clone() |
boolean |
equals(Object obj) |
String |
getChildAssetModelId()
The ID of an asset model for this hierarchy.
|
String |
getName()
The name of the asset model hierarchy definition (as specified in the CreateAssetModel or UpdateAssetModel API operation).
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setChildAssetModelId(String childAssetModelId)
The ID of an asset model for this hierarchy.
|
void |
setName(String name)
The name of the asset model hierarchy definition (as specified in the CreateAssetModel or UpdateAssetModel API operation).
|
String |
toString()
Returns a string representation of this object.
|
AssetModelHierarchyDefinition |
withChildAssetModelId(String childAssetModelId)
The ID of an asset model for this hierarchy.
|
AssetModelHierarchyDefinition |
withName(String name)
The name of the asset model hierarchy definition (as specified in the CreateAssetModel or UpdateAssetModel API operation).
|
public void setName(String name)
The name of the asset model hierarchy definition (as specified in the CreateAssetModel or UpdateAssetModel API operation).
name - The name of the asset model hierarchy definition (as specified in the CreateAssetModel or UpdateAssetModel API operation).public String getName()
The name of the asset model hierarchy definition (as specified in the CreateAssetModel or UpdateAssetModel API operation).
public AssetModelHierarchyDefinition withName(String name)
The name of the asset model hierarchy definition (as specified in the CreateAssetModel or UpdateAssetModel API operation).
name - The name of the asset model hierarchy definition (as specified in the CreateAssetModel or UpdateAssetModel API operation).public void setChildAssetModelId(String childAssetModelId)
The ID of an asset model for this hierarchy.
childAssetModelId - The ID of an asset model for this hierarchy.public String getChildAssetModelId()
The ID of an asset model for this hierarchy.
public AssetModelHierarchyDefinition withChildAssetModelId(String childAssetModelId)
The ID of an asset model for this hierarchy.
childAssetModelId - The ID of an asset model for this hierarchy.public String toString()
toString in class ObjectObject.toString()public AssetModelHierarchyDefinition clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2021. All rights reserved.