public class ListKeyPoliciesResult extends Object implements Serializable, Cloneable
Constructor and Description |
---|
ListKeyPoliciesResult() |
Modifier and Type | Method and Description |
---|---|
ListKeyPoliciesResult |
clone() |
boolean |
equals(Object obj) |
String |
getNextMarker()
When
Truncated is true, this value 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.
|
Boolean |
getTruncated()
A flag that indicates whether there are more items in the list.
|
int |
hashCode() |
Boolean |
isTruncated()
A flag that indicates whether there are more items in the list.
|
void |
setNextMarker(String nextMarker)
When
Truncated is true, this value 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.
|
void |
setTruncated(Boolean truncated)
A flag that indicates whether there are more items in the list.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ListKeyPoliciesResult |
withNextMarker(String nextMarker)
When
Truncated is true, this value is present and contains
the value to use for the Marker parameter in a subsequent
pagination request. |
ListKeyPoliciesResult |
withPolicyNames(Collection<String> policyNames)
A list of policy names.
|
ListKeyPoliciesResult |
withPolicyNames(String... policyNames)
A list of policy names.
|
ListKeyPoliciesResult |
withTruncated(Boolean truncated)
A flag that indicates whether there are more items in the list.
|
public List<String> getPolicyNames()
A list of policy names. Currently, there is only one policy and it is named "Default".
public void setPolicyNames(Collection<String> policyNames)
A list of policy names. Currently, there is only one policy and it is named "Default".
policyNames
- A list of policy names. Currently, there is only one policy and it
is named "Default".public ListKeyPoliciesResult withPolicyNames(String... policyNames)
A list of policy names. Currently, there is only one policy and it is named "Default".
NOTE: This method appends the values to the existing list (if
any). Use setPolicyNames(java.util.Collection)
or
withPolicyNames(java.util.Collection)
if you want to override
the existing values.
policyNames
- A list of policy names. Currently, there is only one policy and it
is named "Default".public ListKeyPoliciesResult withPolicyNames(Collection<String> policyNames)
A list of policy names. Currently, there is only one policy and it is named "Default".
policyNames
- A list of policy names. Currently, there is only one policy and it
is named "Default".public void setNextMarker(String nextMarker)
When Truncated
is true, this value is present and contains
the value to use for the Marker
parameter in a subsequent
pagination request.
nextMarker
- When Truncated
is true, this value is present and
contains the value to use for the Marker
parameter in
a subsequent pagination request.public String getNextMarker()
When Truncated
is true, this value is present and contains
the value to use for the Marker
parameter in a subsequent
pagination request.
Truncated
is true, this value is present and
contains the value to use for the Marker
parameter
in a subsequent pagination request.public ListKeyPoliciesResult withNextMarker(String nextMarker)
When Truncated
is true, this value is present and contains
the value to use for the Marker
parameter in a subsequent
pagination request.
nextMarker
- When Truncated
is true, this value is present and
contains the value to use for the Marker
parameter in
a subsequent pagination request.public void setTruncated(Boolean truncated)
A flag that indicates whether there are more items in the list. If your
results were truncated, you can use the Marker
parameter to
make a subsequent pagination request to retrieve more items in the list.
truncated
- A flag that indicates whether there are more items in the list. If
your results were truncated, you can use the Marker
parameter to make a subsequent pagination request to retrieve more
items in the list.public Boolean getTruncated()
A flag that indicates whether there are more items in the list. If your
results were truncated, you can use the Marker
parameter to
make a subsequent pagination request to retrieve more items in the list.
Marker
parameter to make a subsequent pagination
request to retrieve more items in the list.public ListKeyPoliciesResult withTruncated(Boolean truncated)
A flag that indicates whether there are more items in the list. If your
results were truncated, you can use the Marker
parameter to
make a subsequent pagination request to retrieve more items in the list.
truncated
- A flag that indicates whether there are more items in the list. If
your results were truncated, you can use the Marker
parameter to make a subsequent pagination request to retrieve more
items in the list.public Boolean isTruncated()
A flag that indicates whether there are more items in the list. If your
results were truncated, you can use the Marker
parameter to
make a subsequent pagination request to retrieve more items in the list.
Marker
parameter to make a subsequent pagination
request to retrieve more items in the list.public String toString()
toString
in class Object
Object.toString()
public ListKeyPoliciesResult clone()
Copyright © 2018. All rights reserved.