@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class BatchListObjectParentsResponse extends Object implements Serializable, Cloneable, StructuredPojo
Represents the output of a ListObjectParents response operation.
Constructor and Description |
---|
BatchListObjectParentsResponse() |
Modifier and Type | Method and Description |
---|---|
BatchListObjectParentsResponse |
clone() |
boolean |
equals(Object obj) |
String |
getNextToken()
The pagination token.
|
List<ObjectIdentifierAndLinkNameTuple> |
getParentLinks()
Returns a list of parent reference and LinkName Tuples.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setNextToken(String nextToken)
The pagination token.
|
void |
setParentLinks(Collection<ObjectIdentifierAndLinkNameTuple> parentLinks)
Returns a list of parent reference and LinkName Tuples.
|
String |
toString()
Returns a string representation of this object.
|
BatchListObjectParentsResponse |
withNextToken(String nextToken)
The pagination token.
|
BatchListObjectParentsResponse |
withParentLinks(Collection<ObjectIdentifierAndLinkNameTuple> parentLinks)
Returns a list of parent reference and LinkName Tuples.
|
BatchListObjectParentsResponse |
withParentLinks(ObjectIdentifierAndLinkNameTuple... parentLinks)
Returns a list of parent reference and LinkName Tuples.
|
public List<ObjectIdentifierAndLinkNameTuple> getParentLinks()
Returns a list of parent reference and LinkName Tuples.
public void setParentLinks(Collection<ObjectIdentifierAndLinkNameTuple> parentLinks)
Returns a list of parent reference and LinkName Tuples.
parentLinks
- Returns a list of parent reference and LinkName Tuples.public BatchListObjectParentsResponse withParentLinks(ObjectIdentifierAndLinkNameTuple... parentLinks)
Returns a list of parent reference and LinkName Tuples.
NOTE: This method appends the values to the existing list (if any). Use
setParentLinks(java.util.Collection)
or withParentLinks(java.util.Collection)
if you want to
override the existing values.
parentLinks
- Returns a list of parent reference and LinkName Tuples.public BatchListObjectParentsResponse withParentLinks(Collection<ObjectIdentifierAndLinkNameTuple> parentLinks)
Returns a list of parent reference and LinkName Tuples.
parentLinks
- Returns a list of parent reference and LinkName Tuples.public void setNextToken(String nextToken)
The pagination token.
nextToken
- The pagination token.public String getNextToken()
The pagination token.
public BatchListObjectParentsResponse withNextToken(String nextToken)
The pagination token.
nextToken
- The pagination token.public String toString()
toString
in class Object
Object.toString()
public BatchListObjectParentsResponse clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.