@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class RelationshipsListItem extends Object implements Serializable, Cloneable, StructuredPojo
List of child blocks for the current block.
Constructor and Description |
---|
RelationshipsListItem() |
Modifier and Type | Method and Description |
---|---|
RelationshipsListItem |
clone() |
boolean |
equals(Object obj) |
List<String> |
getIds()
Identifers of the child blocks.
|
String |
getType()
Only supported relationship is a child relationship.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setIds(Collection<String> ids)
Identifers of the child blocks.
|
void |
setType(String type)
Only supported relationship is a child relationship.
|
String |
toString()
Returns a string representation of this object.
|
RelationshipsListItem |
withIds(Collection<String> ids)
Identifers of the child blocks.
|
RelationshipsListItem |
withIds(String... ids)
Identifers of the child blocks.
|
RelationshipsListItem |
withType(RelationshipType type)
Only supported relationship is a child relationship.
|
RelationshipsListItem |
withType(String type)
Only supported relationship is a child relationship.
|
public List<String> getIds()
Identifers of the child blocks.
public void setIds(Collection<String> ids)
Identifers of the child blocks.
ids
- Identifers of the child blocks.public RelationshipsListItem withIds(String... ids)
Identifers of the child blocks.
NOTE: This method appends the values to the existing list (if any). Use
setIds(java.util.Collection)
or withIds(java.util.Collection)
if you want to override the
existing values.
ids
- Identifers of the child blocks.public RelationshipsListItem withIds(Collection<String> ids)
Identifers of the child blocks.
ids
- Identifers of the child blocks.public void setType(String type)
Only supported relationship is a child relationship.
type
- Only supported relationship is a child relationship.RelationshipType
public String getType()
Only supported relationship is a child relationship.
RelationshipType
public RelationshipsListItem withType(String type)
Only supported relationship is a child relationship.
type
- Only supported relationship is a child relationship.RelationshipType
public RelationshipsListItem withType(RelationshipType type)
Only supported relationship is a child relationship.
type
- Only supported relationship is a child relationship.RelationshipType
public String toString()
toString
in class Object
Object.toString()
public RelationshipsListItem clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.