@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()
Token used for pagination.
|
List<String> |
getObjectIdentifiers()
List of ObjectIdentifiers to which the policy is attached.
|
int |
hashCode() |
void |
setNextToken(String nextToken)
Token used for pagination.
|
void |
setObjectIdentifiers(Collection<String> objectIdentifiers)
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)
Token used for pagination.
|
ListPolicyAttachmentsResult |
withObjectIdentifiers(Collection<String> objectIdentifiers)
List of ObjectIdentifiers to which the policy is attached.
|
ListPolicyAttachmentsResult |
withObjectIdentifiers(String... objectIdentifiers)
List of ObjectIdentifiers to which the policy is attached.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<String> getObjectIdentifiers()
List of ObjectIdentifiers to which the policy is attached.
public void setObjectIdentifiers(Collection<String> objectIdentifiers)
List of ObjectIdentifiers to which the policy is attached.
objectIdentifiers
- List of ObjectIdentifiers to which the policy is attached.public ListPolicyAttachmentsResult withObjectIdentifiers(String... objectIdentifiers)
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
- List of ObjectIdentifiers to which the policy is attached.public ListPolicyAttachmentsResult withObjectIdentifiers(Collection<String> objectIdentifiers)
List of ObjectIdentifiers to which the policy is attached.
objectIdentifiers
- List of ObjectIdentifiers to which the policy is attached.public void setNextToken(String nextToken)
Token used for pagination.
nextToken
- Token used for pagination.public String getNextToken()
Token used for pagination.
public ListPolicyAttachmentsResult withNextToken(String nextToken)
Token used for pagination.
nextToken
- Token used for pagination.public String toString()
toString
in class Object
Object.toString()
public ListPolicyAttachmentsResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.