@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AssetHierarchyInfo extends Object implements Serializable, Cloneable, StructuredPojo
Contains information about a parent asset and a child asset that are related through an asset hierarchy.
Constructor and Description |
---|
AssetHierarchyInfo() |
Modifier and Type | Method and Description |
---|---|
AssetHierarchyInfo |
clone() |
boolean |
equals(Object obj) |
String |
getChildAssetId()
The ID of the child asset in this asset relationship.
|
String |
getParentAssetId()
The ID of the parent asset in this asset relationship.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setChildAssetId(String childAssetId)
The ID of the child asset in this asset relationship.
|
void |
setParentAssetId(String parentAssetId)
The ID of the parent asset in this asset relationship.
|
String |
toString()
Returns a string representation of this object.
|
AssetHierarchyInfo |
withChildAssetId(String childAssetId)
The ID of the child asset in this asset relationship.
|
AssetHierarchyInfo |
withParentAssetId(String parentAssetId)
The ID of the parent asset in this asset relationship.
|
public void setParentAssetId(String parentAssetId)
The ID of the parent asset in this asset relationship.
parentAssetId
- The ID of the parent asset in this asset relationship.public String getParentAssetId()
The ID of the parent asset in this asset relationship.
public AssetHierarchyInfo withParentAssetId(String parentAssetId)
The ID of the parent asset in this asset relationship.
parentAssetId
- The ID of the parent asset in this asset relationship.public void setChildAssetId(String childAssetId)
The ID of the child asset in this asset relationship.
childAssetId
- The ID of the child asset in this asset relationship.public String getChildAssetId()
The ID of the child asset in this asset relationship.
public AssetHierarchyInfo withChildAssetId(String childAssetId)
The ID of the child asset in this asset relationship.
childAssetId
- The ID of the child asset in this asset relationship.public String toString()
toString
in class Object
Object.toString()
public AssetHierarchyInfo clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.