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