@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CompositionRelationshipItem extends Object implements Serializable, Cloneable, StructuredPojo
Represents a composite model that composed an asset model of type COMPONENT_MODEL
.
Constructor and Description |
---|
CompositionRelationshipItem() |
Modifier and Type | Method and Description |
---|---|
CompositionRelationshipItem |
clone() |
boolean |
equals(Object obj) |
String |
getId()
The ID of the component.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setId(String id)
The ID of the component.
|
String |
toString()
Returns a string representation of this object.
|
CompositionRelationshipItem |
withId(String id)
The ID of the component.
|
public void setId(String id)
The ID of the component.
id
- The ID of the component.public String getId()
The ID of the component.
public CompositionRelationshipItem withId(String id)
The ID of the component.
id
- The ID of the component.public String toString()
toString
in class Object
Object.toString()
public CompositionRelationshipItem clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.