@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()
A list of policy
ObjectIdentifiers , that are attached to the object. |
String |
getNextToken()
The pagination token.
|
int |
hashCode() |
void |
setAttachedPolicyIds(Collection<String> attachedPolicyIds)
A list of policy
ObjectIdentifiers , that are attached to the object. |
void |
setNextToken(String nextToken)
The pagination token.
|
String |
toString()
Returns a string representation of this object.
|
ListObjectPoliciesResult |
withAttachedPolicyIds(Collection<String> attachedPolicyIds)
A list of policy
ObjectIdentifiers , that are attached to the object. |
ListObjectPoliciesResult |
withAttachedPolicyIds(String... attachedPolicyIds)
A list of policy
ObjectIdentifiers , that are attached to the object. |
ListObjectPoliciesResult |
withNextToken(String nextToken)
The pagination token.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<String> getAttachedPolicyIds()
A list of policy ObjectIdentifiers
, that are attached to the object.
ObjectIdentifiers
, that are attached to the object.public void setAttachedPolicyIds(Collection<String> attachedPolicyIds)
A list of policy ObjectIdentifiers
, that are attached to the object.
attachedPolicyIds
- A list of policy ObjectIdentifiers
, that are attached to the object.public ListObjectPoliciesResult withAttachedPolicyIds(String... attachedPolicyIds)
A 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
- A list of policy ObjectIdentifiers
, that are attached to the object.public ListObjectPoliciesResult withAttachedPolicyIds(Collection<String> attachedPolicyIds)
A list of policy ObjectIdentifiers
, that are attached to the object.
attachedPolicyIds
- A list of policy ObjectIdentifiers
, that are attached to the object.public void setNextToken(String nextToken)
The pagination token.
nextToken
- The pagination token.public String getNextToken()
The pagination token.
public ListObjectPoliciesResult withNextToken(String nextToken)
The pagination token.
nextToken
- The pagination token.public String toString()
toString
in class Object
Object.toString()
public ListObjectPoliciesResult clone()