@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Relationship extends Object implements Serializable, Cloneable, StructuredPojo
An object that specifies a relationship with another component type.
Constructor and Description |
---|
Relationship() |
Modifier and Type | Method and Description |
---|---|
Relationship |
clone() |
boolean |
equals(Object obj) |
String |
getRelationshipType()
The type of the relationship.
|
String |
getTargetComponentTypeId()
The ID of the target component type associated with this relationship.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setRelationshipType(String relationshipType)
The type of the relationship.
|
void |
setTargetComponentTypeId(String targetComponentTypeId)
The ID of the target component type associated with this relationship.
|
String |
toString()
Returns a string representation of this object.
|
Relationship |
withRelationshipType(String relationshipType)
The type of the relationship.
|
Relationship |
withTargetComponentTypeId(String targetComponentTypeId)
The ID of the target component type associated with this relationship.
|
public void setTargetComponentTypeId(String targetComponentTypeId)
The ID of the target component type associated with this relationship.
targetComponentTypeId
- The ID of the target component type associated with this relationship.public String getTargetComponentTypeId()
The ID of the target component type associated with this relationship.
public Relationship withTargetComponentTypeId(String targetComponentTypeId)
The ID of the target component type associated with this relationship.
targetComponentTypeId
- The ID of the target component type associated with this relationship.public void setRelationshipType(String relationshipType)
The type of the relationship.
relationshipType
- The type of the relationship.public String getRelationshipType()
The type of the relationship.
public Relationship withRelationshipType(String relationshipType)
The type of the relationship.
relationshipType
- The type of the relationship.public String toString()
toString
in class Object
Object.toString()
public Relationship clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.