public class ListUserPoliciesResult extends Object implements Serializable
Contains the result of a successful invocation of the ListUserPolicies action.
Constructor and Description |
---|
ListUserPoliciesResult() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
Boolean |
getIsTruncated()
A flag that indicates whether there are more policy names to list.
|
String |
getMarker()
If
IsTruncated is true , this element is
present and contains the value to use for the Marker
parameter in a subsequent pagination request. |
List<String> |
getPolicyNames()
A list of policy names.
|
int |
hashCode() |
Boolean |
isTruncated()
A flag that indicates whether there are more policy names to list.
|
void |
setIsTruncated(Boolean isTruncated)
A flag that indicates whether there are more policy names to list.
|
void |
setMarker(String marker)
If
IsTruncated is true , this element is
present and contains the value to use for the Marker
parameter in a subsequent pagination request. |
void |
setPolicyNames(Collection<String> policyNames)
A list of policy names.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ListUserPoliciesResult |
withIsTruncated(Boolean isTruncated)
A flag that indicates whether there are more policy names to list.
|
ListUserPoliciesResult |
withMarker(String marker)
If
IsTruncated is true , this element is
present and contains the value to use for the Marker
parameter in a subsequent pagination request. |
ListUserPoliciesResult |
withPolicyNames(Collection<String> policyNames)
A list of policy names.
|
ListUserPoliciesResult |
withPolicyNames(String... policyNames)
A list of policy names.
|
public List<String> getPolicyNames()
public void setPolicyNames(Collection<String> policyNames)
policyNames
- A list of policy names.public ListUserPoliciesResult withPolicyNames(String... policyNames)
Returns a reference to this object so that method calls can be chained together.
policyNames
- A list of policy names.public ListUserPoliciesResult withPolicyNames(Collection<String> policyNames)
Returns a reference to this object so that method calls can be chained together.
policyNames
- A list of policy names.public Boolean isTruncated()
Marker
request parameter to retrieve
more policy names in the list.Marker
request parameter to retrieve
more policy names in the list.public void setIsTruncated(Boolean isTruncated)
Marker
request parameter to retrieve
more policy names in the list.isTruncated
- A flag that indicates whether there are more policy names to list. If
your results were truncated, you can make a subsequent pagination
request using the Marker
request parameter to retrieve
more policy names in the list.public ListUserPoliciesResult withIsTruncated(Boolean isTruncated)
Marker
request parameter to retrieve
more policy names in the list.
Returns a reference to this object so that method calls can be chained together.
isTruncated
- A flag that indicates whether there are more policy names to list. If
your results were truncated, you can make a subsequent pagination
request using the Marker
request parameter to retrieve
more policy names in the list.public Boolean getIsTruncated()
Marker
request parameter to retrieve
more policy names in the list.Marker
request parameter to retrieve
more policy names in the list.public String getMarker()
IsTruncated
is true
, this element is
present and contains the value to use for the Marker
parameter in a subsequent pagination request.
Constraints:
Length: 1 - 320
Pattern: [ -ÿ]*
IsTruncated
is true
, this element is
present and contains the value to use for the Marker
parameter in a subsequent pagination request.public void setMarker(String marker)
IsTruncated
is true
, this element is
present and contains the value to use for the Marker
parameter in a subsequent pagination request.
Constraints:
Length: 1 - 320
Pattern: [ -ÿ]*
marker
- If IsTruncated
is true
, this element is
present and contains the value to use for the Marker
parameter in a subsequent pagination request.public ListUserPoliciesResult withMarker(String marker)
IsTruncated
is true
, this element is
present and contains the value to use for the Marker
parameter in a subsequent pagination request.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 320
Pattern: [ -ÿ]*
marker
- If 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()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.