@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CompositionDetails extends Object implements Serializable, Cloneable, StructuredPojo
Metadata for the composition relationship established by using composedAssetModelId
in
CreateAssetModelCompositeModel
.
Constructor and Description |
---|
CompositionDetails() |
Modifier and Type | Method and Description |
---|---|
CompositionDetails |
clone() |
boolean |
equals(Object obj) |
List<CompositionRelationshipItem> |
getCompositionRelationship()
An array detailing the composition relationship for this composite model.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCompositionRelationship(Collection<CompositionRelationshipItem> compositionRelationship)
An array detailing the composition relationship for this composite model.
|
String |
toString()
Returns a string representation of this object.
|
CompositionDetails |
withCompositionRelationship(Collection<CompositionRelationshipItem> compositionRelationship)
An array detailing the composition relationship for this composite model.
|
CompositionDetails |
withCompositionRelationship(CompositionRelationshipItem... compositionRelationship)
An array detailing the composition relationship for this composite model.
|
public List<CompositionRelationshipItem> getCompositionRelationship()
An array detailing the composition relationship for this composite model.
public void setCompositionRelationship(Collection<CompositionRelationshipItem> compositionRelationship)
An array detailing the composition relationship for this composite model.
compositionRelationship
- An array detailing the composition relationship for this composite model.public CompositionDetails withCompositionRelationship(CompositionRelationshipItem... compositionRelationship)
An array detailing the composition relationship for this composite model.
NOTE: This method appends the values to the existing list (if any). Use
setCompositionRelationship(java.util.Collection)
or
withCompositionRelationship(java.util.Collection)
if you want to override the existing values.
compositionRelationship
- An array detailing the composition relationship for this composite model.public CompositionDetails withCompositionRelationship(Collection<CompositionRelationshipItem> compositionRelationship)
An array detailing the composition relationship for this composite model.
compositionRelationship
- An array detailing the composition relationship for this composite model.public String toString()
toString
in class Object
Object.toString()
public CompositionDetails clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.