@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListObjectPoliciesResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
| Constructor and Description |
|---|
ListObjectPoliciesResult() |
| Modifier and Type | Method and Description |
|---|---|
ListObjectPoliciesResult |
clone() |
boolean |
equals(Object obj) |
List<String> |
getAttachedPolicyIds()
List of policy ObjectIdentifiers, that are attached to the object.
|
String |
getNextToken()
Token used for pagination.
|
int |
hashCode() |
void |
setAttachedPolicyIds(Collection<String> attachedPolicyIds)
List of policy ObjectIdentifiers, that are attached to the object.
|
void |
setNextToken(String nextToken)
Token used for pagination.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
ListObjectPoliciesResult |
withAttachedPolicyIds(Collection<String> attachedPolicyIds)
List of policy ObjectIdentifiers, that are attached to the object.
|
ListObjectPoliciesResult |
withAttachedPolicyIds(String... attachedPolicyIds)
List of policy ObjectIdentifiers, that are attached to the object.
|
ListObjectPoliciesResult |
withNextToken(String nextToken)
Token used for pagination.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadatapublic List<String> getAttachedPolicyIds()
List of policy ObjectIdentifiers, that are attached to the object.
public void setAttachedPolicyIds(Collection<String> attachedPolicyIds)
List of policy ObjectIdentifiers, that are attached to the object.
attachedPolicyIds - List of policy ObjectIdentifiers, that are attached to the object.public ListObjectPoliciesResult withAttachedPolicyIds(String... attachedPolicyIds)
List of policy ObjectIdentifiers, that are attached to the object.
NOTE: This method appends the values to the existing list (if any). Use
setAttachedPolicyIds(java.util.Collection) or withAttachedPolicyIds(java.util.Collection) if
you want to override the existing values.
attachedPolicyIds - List of policy ObjectIdentifiers, that are attached to the object.public ListObjectPoliciesResult withAttachedPolicyIds(Collection<String> attachedPolicyIds)
List of policy ObjectIdentifiers, that are attached to the object.
attachedPolicyIds - List of policy ObjectIdentifiers, that are attached to the object.public void setNextToken(String nextToken)
Token used for pagination.
nextToken - Token used for pagination.public String getNextToken()
Token used for pagination.
public ListObjectPoliciesResult withNextToken(String nextToken)
Token used for pagination.
nextToken - Token used for pagination.public String toString()
toString in class ObjectObject.toString()public ListObjectPoliciesResult clone()
Copyright © 2017. All rights reserved.