@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class BatchListObjectPolicies extends Object implements Serializable, Cloneable, StructuredPojo
Returns policies attached to an object in pagination fashion inside a BatchRead operation. For more information, see ListObjectPolicies and BatchReadRequest$Operations.
Constructor and Description |
---|
BatchListObjectPolicies() |
Modifier and Type | Method and Description |
---|---|
BatchListObjectPolicies |
clone() |
boolean |
equals(Object obj) |
Integer |
getMaxResults()
The maximum number of results to retrieve.
|
String |
getNextToken()
The pagination token.
|
ObjectReference |
getObjectReference()
The reference that identifies the object whose attributes will be listed.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setMaxResults(Integer maxResults)
The maximum number of results to retrieve.
|
void |
setNextToken(String nextToken)
The pagination token.
|
void |
setObjectReference(ObjectReference objectReference)
The reference that identifies the object whose attributes will be listed.
|
String |
toString()
Returns a string representation of this object.
|
BatchListObjectPolicies |
withMaxResults(Integer maxResults)
The maximum number of results to retrieve.
|
BatchListObjectPolicies |
withNextToken(String nextToken)
The pagination token.
|
BatchListObjectPolicies |
withObjectReference(ObjectReference objectReference)
The reference that identifies the object whose attributes will be listed.
|
public void setObjectReference(ObjectReference objectReference)
The reference that identifies the object whose attributes will be listed.
objectReference
- The reference that identifies the object whose attributes will be listed.public ObjectReference getObjectReference()
The reference that identifies the object whose attributes will be listed.
public BatchListObjectPolicies withObjectReference(ObjectReference objectReference)
The reference that identifies the object whose attributes will be listed.
objectReference
- The reference that identifies the object whose attributes will be listed.public void setNextToken(String nextToken)
The pagination token.
nextToken
- The pagination token.public String getNextToken()
The pagination token.
public BatchListObjectPolicies withNextToken(String nextToken)
The pagination token.
nextToken
- The pagination token.public void setMaxResults(Integer maxResults)
The maximum number of results to retrieve.
maxResults
- The maximum number of results to retrieve.public Integer getMaxResults()
The maximum number of results to retrieve.
public BatchListObjectPolicies withMaxResults(Integer maxResults)
The maximum number of results to retrieve.
maxResults
- The maximum number of results to retrieve.public String toString()
toString
in class Object
Object.toString()
public BatchListObjectPolicies clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.