@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class BatchListPolicyAttachmentsResponse extends Object implements Serializable, Cloneable, StructuredPojo
Represents the output of a ListPolicyAttachments response operation.
Constructor and Description |
---|
BatchListPolicyAttachmentsResponse() |
Modifier and Type | Method and Description |
---|---|
BatchListPolicyAttachmentsResponse |
clone() |
boolean |
equals(Object obj) |
String |
getNextToken()
The pagination token.
|
List<String> |
getObjectIdentifiers()
A list of
ObjectIdentifiers to which the policy is attached. |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setNextToken(String nextToken)
The pagination token.
|
void |
setObjectIdentifiers(Collection<String> objectIdentifiers)
A list of
ObjectIdentifiers to which the policy is attached. |
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
BatchListPolicyAttachmentsResponse |
withNextToken(String nextToken)
The pagination token.
|
BatchListPolicyAttachmentsResponse |
withObjectIdentifiers(Collection<String> objectIdentifiers)
A list of
ObjectIdentifiers to which the policy is attached. |
BatchListPolicyAttachmentsResponse |
withObjectIdentifiers(String... objectIdentifiers)
A list of
ObjectIdentifiers to which the policy is attached. |
public List<String> getObjectIdentifiers()
A list of ObjectIdentifiers
to which the policy is attached.
ObjectIdentifiers
to which the policy is attached.public void setObjectIdentifiers(Collection<String> objectIdentifiers)
A list of ObjectIdentifiers
to which the policy is attached.
objectIdentifiers
- A list of ObjectIdentifiers
to which the policy is attached.public BatchListPolicyAttachmentsResponse withObjectIdentifiers(String... objectIdentifiers)
A list of ObjectIdentifiers
to which the policy is attached.
NOTE: This method appends the values to the existing list (if any). Use
setObjectIdentifiers(java.util.Collection)
or withObjectIdentifiers(java.util.Collection)
if
you want to override the existing values.
objectIdentifiers
- A list of ObjectIdentifiers
to which the policy is attached.public BatchListPolicyAttachmentsResponse withObjectIdentifiers(Collection<String> objectIdentifiers)
A list of ObjectIdentifiers
to which the policy is attached.
objectIdentifiers
- A list of ObjectIdentifiers
to which the policy is attached.public void setNextToken(String nextToken)
The pagination token.
nextToken
- The pagination token.public String getNextToken()
The pagination token.
public BatchListPolicyAttachmentsResponse withNextToken(String nextToken)
The pagination token.
nextToken
- The pagination token.public String toString()
toString
in class Object
Object.toString()
public BatchListPolicyAttachmentsResponse clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.