@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListEntitiesForPolicyResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Contains the response to a successful ListEntitiesForPolicy request.
Constructor and Description |
---|
ListEntitiesForPolicyResult() |
Modifier and Type | Method and Description |
---|---|
ListEntitiesForPolicyResult |
clone() |
boolean |
equals(Object obj) |
Boolean |
getIsTruncated()
A flag that indicates whether there are more items to return.
|
String |
getMarker()
When
IsTruncated is true , this element is present and contains the value to use for the
Marker parameter in a subsequent pagination request. |
List<PolicyGroup> |
getPolicyGroups()
A list of IAM groups that the policy is attached to.
|
List<PolicyRole> |
getPolicyRoles()
A list of IAM roles that the policy is attached to.
|
List<PolicyUser> |
getPolicyUsers()
A list of IAM users that the policy is attached to.
|
int |
hashCode() |
Boolean |
isTruncated()
A flag that indicates whether there are more items to return.
|
void |
setIsTruncated(Boolean isTruncated)
A flag that indicates whether there are more items to return.
|
void |
setMarker(String marker)
When
IsTruncated is true , this element is present and contains the value to use for the
Marker parameter in a subsequent pagination request. |
void |
setPolicyGroups(Collection<PolicyGroup> policyGroups)
A list of IAM groups that the policy is attached to.
|
void |
setPolicyRoles(Collection<PolicyRole> policyRoles)
A list of IAM roles that the policy is attached to.
|
void |
setPolicyUsers(Collection<PolicyUser> policyUsers)
A list of IAM users that the policy is attached to.
|
String |
toString()
Returns a string representation of this object.
|
ListEntitiesForPolicyResult |
withIsTruncated(Boolean isTruncated)
A flag that indicates whether there are more items to return.
|
ListEntitiesForPolicyResult |
withMarker(String marker)
When
IsTruncated is true , this element is present and contains the value to use for the
Marker parameter in a subsequent pagination request. |
ListEntitiesForPolicyResult |
withPolicyGroups(Collection<PolicyGroup> policyGroups)
A list of IAM groups that the policy is attached to.
|
ListEntitiesForPolicyResult |
withPolicyGroups(PolicyGroup... policyGroups)
A list of IAM groups that the policy is attached to.
|
ListEntitiesForPolicyResult |
withPolicyRoles(Collection<PolicyRole> policyRoles)
A list of IAM roles that the policy is attached to.
|
ListEntitiesForPolicyResult |
withPolicyRoles(PolicyRole... policyRoles)
A list of IAM roles that the policy is attached to.
|
ListEntitiesForPolicyResult |
withPolicyUsers(Collection<PolicyUser> policyUsers)
A list of IAM users that the policy is attached to.
|
ListEntitiesForPolicyResult |
withPolicyUsers(PolicyUser... policyUsers)
A list of IAM users that the policy is attached to.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<PolicyGroup> getPolicyGroups()
A list of IAM groups that the policy is attached to.
public void setPolicyGroups(Collection<PolicyGroup> policyGroups)
A list of IAM groups that the policy is attached to.
policyGroups
- A list of IAM groups that the policy is attached to.public ListEntitiesForPolicyResult withPolicyGroups(PolicyGroup... policyGroups)
A list of IAM groups that the policy is attached to.
NOTE: This method appends the values to the existing list (if any). Use
setPolicyGroups(java.util.Collection)
or withPolicyGroups(java.util.Collection)
if you want to
override the existing values.
policyGroups
- A list of IAM groups that the policy is attached to.public ListEntitiesForPolicyResult withPolicyGroups(Collection<PolicyGroup> policyGroups)
A list of IAM groups that the policy is attached to.
policyGroups
- A list of IAM groups that the policy is attached to.public List<PolicyUser> getPolicyUsers()
A list of IAM users that the policy is attached to.
public void setPolicyUsers(Collection<PolicyUser> policyUsers)
A list of IAM users that the policy is attached to.
policyUsers
- A list of IAM users that the policy is attached to.public ListEntitiesForPolicyResult withPolicyUsers(PolicyUser... policyUsers)
A list of IAM users that the policy is attached to.
NOTE: This method appends the values to the existing list (if any). Use
setPolicyUsers(java.util.Collection)
or withPolicyUsers(java.util.Collection)
if you want to
override the existing values.
policyUsers
- A list of IAM users that the policy is attached to.public ListEntitiesForPolicyResult withPolicyUsers(Collection<PolicyUser> policyUsers)
A list of IAM users that the policy is attached to.
policyUsers
- A list of IAM users that the policy is attached to.public List<PolicyRole> getPolicyRoles()
A list of IAM roles that the policy is attached to.
public void setPolicyRoles(Collection<PolicyRole> policyRoles)
A list of IAM roles that the policy is attached to.
policyRoles
- A list of IAM roles that the policy is attached to.public ListEntitiesForPolicyResult withPolicyRoles(PolicyRole... policyRoles)
A list of IAM roles that the policy is attached to.
NOTE: This method appends the values to the existing list (if any). Use
setPolicyRoles(java.util.Collection)
or withPolicyRoles(java.util.Collection)
if you want to
override the existing values.
policyRoles
- A list of IAM roles that the policy is attached to.public ListEntitiesForPolicyResult withPolicyRoles(Collection<PolicyRole> policyRoles)
A list of IAM roles that the policy is attached to.
policyRoles
- A list of IAM roles that the policy is attached to.public void setIsTruncated(Boolean isTruncated)
A flag that indicates whether there are more items to return. If your results were truncated, you can make a
subsequent pagination request using the Marker
request parameter to retrieve more items. Note that
IAM might return fewer than the MaxItems
number of results even when there are more results
available. We recommend that you check IsTruncated
after every call to ensure that you receive all
your results.
isTruncated
- A flag that indicates whether there are more items to return. If your results were truncated, you can make
a subsequent pagination request using the Marker
request parameter to retrieve more items.
Note that IAM might return fewer than the MaxItems
number of results even when there are more
results available. We recommend that you check IsTruncated
after every call to ensure that
you receive all your results.public Boolean getIsTruncated()
A flag that indicates whether there are more items to return. If your results were truncated, you can make a
subsequent pagination request using the Marker
request parameter to retrieve more items. Note that
IAM might return fewer than the MaxItems
number of results even when there are more results
available. We recommend that you check IsTruncated
after every call to ensure that you receive all
your results.
Marker
request parameter to retrieve more
items. Note that IAM might return fewer than the MaxItems
number of results even when there
are more results available. We recommend that you check IsTruncated
after every call to
ensure that you receive all your results.public ListEntitiesForPolicyResult withIsTruncated(Boolean isTruncated)
A flag that indicates whether there are more items to return. If your results were truncated, you can make a
subsequent pagination request using the Marker
request parameter to retrieve more items. Note that
IAM might return fewer than the MaxItems
number of results even when there are more results
available. We recommend that you check IsTruncated
after every call to ensure that you receive all
your results.
isTruncated
- A flag that indicates whether there are more items to return. If your results were truncated, you can make
a subsequent pagination request using the Marker
request parameter to retrieve more items.
Note that IAM might return fewer than the MaxItems
number of results even when there are more
results available. We recommend that you check IsTruncated
after every call to ensure that
you receive all your results.public Boolean isTruncated()
A flag that indicates whether there are more items to return. If your results were truncated, you can make a
subsequent pagination request using the Marker
request parameter to retrieve more items. Note that
IAM might return fewer than the MaxItems
number of results even when there are more results
available. We recommend that you check IsTruncated
after every call to ensure that you receive all
your results.
Marker
request parameter to retrieve more
items. Note that IAM might return fewer than the MaxItems
number of results even when there
are more results available. We recommend that you check IsTruncated
after every call to
ensure that you receive all your results.public void setMarker(String marker)
When IsTruncated
is true
, this element is present and contains the value to use for the
Marker
parameter in a subsequent pagination request.
marker
- When IsTruncated
is true
, this element is present and contains the value to use
for the Marker
parameter in a subsequent pagination request.public String getMarker()
When IsTruncated
is true
, this element is present and contains the value to use for the
Marker
parameter in a subsequent pagination request.
IsTruncated
is true
, this element is present and contains the value to use
for the Marker
parameter in a subsequent pagination request.public ListEntitiesForPolicyResult withMarker(String marker)
When IsTruncated
is true
, this element is present and contains the value to use for the
Marker
parameter in a subsequent pagination request.
marker
- When IsTruncated
is true
, this element is present and contains the value to use
for the Marker
parameter in a subsequent pagination request.public String toString()
toString
in class Object
Object.toString()
public ListEntitiesForPolicyResult clone()