@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AssetRelationshipSummary extends Object implements Serializable, Cloneable, StructuredPojo
Contains information about assets that are related to one another.
| Constructor and Description |
|---|
AssetRelationshipSummary() |
| Modifier and Type | Method and Description |
|---|---|
AssetRelationshipSummary |
clone() |
boolean |
equals(Object obj) |
AssetHierarchyInfo |
getHierarchyInfo()
The assets that are related through an asset hierarchy.
|
String |
getRelationshipType()
The relationship type of the assets in this relationship.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setHierarchyInfo(AssetHierarchyInfo hierarchyInfo)
The assets that are related through an asset hierarchy.
|
void |
setRelationshipType(String relationshipType)
The relationship type of the assets in this relationship.
|
String |
toString()
Returns a string representation of this object.
|
AssetRelationshipSummary |
withHierarchyInfo(AssetHierarchyInfo hierarchyInfo)
The assets that are related through an asset hierarchy.
|
AssetRelationshipSummary |
withRelationshipType(AssetRelationshipType relationshipType)
The relationship type of the assets in this relationship.
|
AssetRelationshipSummary |
withRelationshipType(String relationshipType)
The relationship type of the assets in this relationship.
|
public void setHierarchyInfo(AssetHierarchyInfo hierarchyInfo)
The assets that are related through an asset hierarchy.
This object is present if the relationshipType is HIERARCHY.
hierarchyInfo - The assets that are related through an asset hierarchy.
This object is present if the relationshipType is HIERARCHY.
public AssetHierarchyInfo getHierarchyInfo()
The assets that are related through an asset hierarchy.
This object is present if the relationshipType is HIERARCHY.
This object is present if the relationshipType is HIERARCHY.
public AssetRelationshipSummary withHierarchyInfo(AssetHierarchyInfo hierarchyInfo)
The assets that are related through an asset hierarchy.
This object is present if the relationshipType is HIERARCHY.
hierarchyInfo - The assets that are related through an asset hierarchy.
This object is present if the relationshipType is HIERARCHY.
public void setRelationshipType(String relationshipType)
The relationship type of the assets in this relationship. This value is one of the following:
HIERARCHY – The assets are related through an asset hierarchy. If you specify this relationship
type, this asset relationship includes the hierarchyInfo object.
relationshipType - The relationship type of the assets in this relationship. This value is one of the following:
HIERARCHY – The assets are related through an asset hierarchy. If you specify this
relationship type, this asset relationship includes the hierarchyInfo object.
AssetRelationshipTypepublic String getRelationshipType()
The relationship type of the assets in this relationship. This value is one of the following:
HIERARCHY – The assets are related through an asset hierarchy. If you specify this relationship
type, this asset relationship includes the hierarchyInfo object.
HIERARCHY – The assets are related through an asset hierarchy. If you specify this
relationship type, this asset relationship includes the hierarchyInfo object.
AssetRelationshipTypepublic AssetRelationshipSummary withRelationshipType(String relationshipType)
The relationship type of the assets in this relationship. This value is one of the following:
HIERARCHY – The assets are related through an asset hierarchy. If you specify this relationship
type, this asset relationship includes the hierarchyInfo object.
relationshipType - The relationship type of the assets in this relationship. This value is one of the following:
HIERARCHY – The assets are related through an asset hierarchy. If you specify this
relationship type, this asset relationship includes the hierarchyInfo object.
AssetRelationshipTypepublic AssetRelationshipSummary withRelationshipType(AssetRelationshipType relationshipType)
The relationship type of the assets in this relationship. This value is one of the following:
HIERARCHY – The assets are related through an asset hierarchy. If you specify this relationship
type, this asset relationship includes the hierarchyInfo object.
relationshipType - The relationship type of the assets in this relationship. This value is one of the following:
HIERARCHY – The assets are related through an asset hierarchy. If you specify this
relationship type, this asset relationship includes the hierarchyInfo object.
AssetRelationshipTypepublic String toString()
toString in class ObjectObject.toString()public AssetRelationshipSummary clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.