@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class BatchListPolicyAttachments extends Object implements Serializable, Cloneable, StructuredPojo
Returns all of the ObjectIdentifiers to which a given policy is attached inside a BatchRead
operation. For more information, see ListPolicyAttachments and BatchReadRequest$Operations.
| Constructor and Description |
|---|
BatchListPolicyAttachments() |
| Modifier and Type | Method and Description |
|---|---|
BatchListPolicyAttachments |
clone() |
boolean |
equals(Object obj) |
Integer |
getMaxResults()
The maximum number of results to retrieve.
|
String |
getNextToken()
The pagination token.
|
ObjectReference |
getPolicyReference()
The reference that identifies the policy object.
|
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 |
setPolicyReference(ObjectReference policyReference)
The reference that identifies the policy object.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
BatchListPolicyAttachments |
withMaxResults(Integer maxResults)
The maximum number of results to retrieve.
|
BatchListPolicyAttachments |
withNextToken(String nextToken)
The pagination token.
|
BatchListPolicyAttachments |
withPolicyReference(ObjectReference policyReference)
The reference that identifies the policy object.
|
public void setPolicyReference(ObjectReference policyReference)
The reference that identifies the policy object.
policyReference - The reference that identifies the policy object.public ObjectReference getPolicyReference()
The reference that identifies the policy object.
public BatchListPolicyAttachments withPolicyReference(ObjectReference policyReference)
The reference that identifies the policy object.
policyReference - The reference that identifies the policy object.public void setNextToken(String nextToken)
The pagination token.
nextToken - The pagination token.public String getNextToken()
The pagination token.
public BatchListPolicyAttachments 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 BatchListPolicyAttachments withMaxResults(Integer maxResults)
The maximum number of results to retrieve.
maxResults - The maximum number of results to retrieve.public String toString()
toString in class ObjectObject.toString()public BatchListPolicyAttachments clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.