@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.
AssetRelationshipType
public 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.
AssetRelationshipType
public 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.
AssetRelationshipType
public 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.
AssetRelationshipType
public String toString()
toString
in class Object
Object.toString()
public AssetRelationshipSummary clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.