@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 CreateAssetModel or UpdateAssetModel).
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
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 CreateAssetModel or UpdateAssetModel).
|
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 CreateAssetModel or UpdateAssetModel).
|
public void setName(String name)
The name of the asset model hierarchy definition (as specified in CreateAssetModel or UpdateAssetModel).
name
- The name of the asset model hierarchy definition (as specified in CreateAssetModel or UpdateAssetModel).public String getName()
The name of the asset model hierarchy definition (as specified in CreateAssetModel or UpdateAssetModel).
public AssetModelHierarchyDefinition withName(String name)
The name of the asset model hierarchy definition (as specified in CreateAssetModel or UpdateAssetModel).
name
- The name of the asset model hierarchy definition (as specified in CreateAssetModel or UpdateAssetModel).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 Object
Object.toString()
public AssetModelHierarchyDefinition clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.