@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class BatchListObjectPoliciesResponse extends Object implements Serializable, Cloneable, StructuredPojo
Represents the output of a ListObjectPolicies response operation.
Constructor and Description |
---|
BatchListObjectPoliciesResponse() |
Modifier and Type | Method and Description |
---|---|
BatchListObjectPoliciesResponse |
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 |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
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; useful for testing and debugging.
|
BatchListObjectPoliciesResponse |
withAttachedPolicyIds(Collection<String> attachedPolicyIds)
A list of policy
ObjectIdentifiers , that are attached to the object. |
BatchListObjectPoliciesResponse |
withAttachedPolicyIds(String... attachedPolicyIds)
A list of policy
ObjectIdentifiers , that are attached to the object. |
BatchListObjectPoliciesResponse |
withNextToken(String nextToken)
The pagination token.
|
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 BatchListObjectPoliciesResponse 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 BatchListObjectPoliciesResponse 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 BatchListObjectPoliciesResponse withNextToken(String nextToken)
The pagination token.
nextToken
- The pagination token.public String toString()
toString
in class Object
Object.toString()
public BatchListObjectPoliciesResponse 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.