@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListPolicyAttachmentsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListPolicyAttachmentsResult() |
Modifier and Type | Method and Description |
---|---|
ListPolicyAttachmentsResult |
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 |
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.
|
ListPolicyAttachmentsResult |
withNextToken(String nextToken)
The pagination token.
|
ListPolicyAttachmentsResult |
withObjectIdentifiers(Collection<String> objectIdentifiers)
A list of
ObjectIdentifiers to which the policy is attached. |
ListPolicyAttachmentsResult |
withObjectIdentifiers(String... objectIdentifiers)
A list of
ObjectIdentifiers to which the policy is attached. |
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
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 ListPolicyAttachmentsResult 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 ListPolicyAttachmentsResult 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 ListPolicyAttachmentsResult withNextToken(String nextToken)
The pagination token.
nextToken
- The pagination token.public String toString()
toString
in class Object
Object.toString()
public ListPolicyAttachmentsResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.