public class ListKeyPoliciesResult extends Object implements Serializable
| Constructor and Description |
|---|
ListKeyPoliciesResult() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getNextMarker()
When
Truncated is true, this element is present and contains
the value to use for the Marker parameter in a subsequent
request. |
List<String> |
getPolicyNames()
A list of key 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 element is present and contains
the value to use for the Marker parameter in a subsequent
request. |
void |
setPolicyNames(Collection<String> policyNames)
A list of key 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 element is present and contains
the value to use for the Marker parameter in a subsequent
request. |
ListKeyPoliciesResult |
withPolicyNames(Collection<String> policyNames)
A list of key policy names.
|
ListKeyPoliciesResult |
withPolicyNames(String... policyNames)
A list of key 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 key policy names. Currently, there is only one key policy per
CMK and it is always named default.
A list of key policy names. Currently, there is only one key
policy per CMK and it is always named default.
public void setPolicyNames(Collection<String> policyNames)
A list of key policy names. Currently, there is only one key policy per
CMK and it is always named default.
policyNames -
A list of key policy names. Currently, there is only one key
policy per CMK and it is always named default.
public ListKeyPoliciesResult withPolicyNames(String... policyNames)
A list of key policy names. Currently, there is only one key policy per
CMK and it is always named default.
Returns a reference to this object so that method calls can be chained together.
policyNames -
A list of key policy names. Currently, there is only one key
policy per CMK and it is always named default.
public ListKeyPoliciesResult withPolicyNames(Collection<String> policyNames)
A list of key policy names. Currently, there is only one key policy per
CMK and it is always named default.
Returns a reference to this object so that method calls can be chained together.
policyNames -
A list of key policy names. Currently, there is only one key
policy per CMK and it is always named default.
public String getNextMarker()
When Truncated is true, this element is present and contains
the value to use for the Marker parameter in a subsequent
request.
Constraints:
Length: 1 - 1024
Pattern: [ -ÿ]*
When Truncated is true, this element is present and
contains the value to use for the Marker parameter
in a subsequent request.
public void setNextMarker(String nextMarker)
When Truncated is true, this element is present and contains
the value to use for the Marker parameter in a subsequent
request.
Constraints:
Length: 1 - 1024
Pattern: [ -ÿ]*
nextMarker -
When Truncated is true, this element is present
and contains the value to use for the Marker
parameter in a subsequent request.
public ListKeyPoliciesResult withNextMarker(String nextMarker)
When Truncated is true, this element is present and contains
the value to use for the Marker parameter in a subsequent
request.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 1024
Pattern: [ -ÿ]*
nextMarker -
When Truncated is true, this element is present
and contains the value to use for the Marker
parameter in a subsequent request.
public Boolean isTruncated()
A flag that indicates whether there are more items in the list. When this
value is true, the list in this response is truncated. To get more items,
pass the value of the NextMarker element in this response to
the Marker parameter in a subsequent request.
A flag that indicates whether there are more items in the list.
When this value is true, the list in this response is truncated.
To get more items, pass the value of the NextMarker
element in this response to the Marker parameter in
a subsequent request.
public Boolean getTruncated()
A flag that indicates whether there are more items in the list. When this
value is true, the list in this response is truncated. To get more items,
pass the value of the NextMarker element in this response to
the Marker parameter in a subsequent request.
A flag that indicates whether there are more items in the list.
When this value is true, the list in this response is truncated.
To get more items, pass the value of the NextMarker
element in this response to the Marker parameter in
a subsequent request.
public void setTruncated(Boolean truncated)
A flag that indicates whether there are more items in the list. When this
value is true, the list in this response is truncated. To get more items,
pass the value of the NextMarker element in this response to
the Marker parameter in a subsequent request.
truncated -
A flag that indicates whether there are more items in the
list. When this value is true, the list in this response is
truncated. To get more items, pass the value of the
NextMarker element in this response to the
Marker parameter in a subsequent request.
public ListKeyPoliciesResult withTruncated(Boolean truncated)
A flag that indicates whether there are more items in the list. When this
value is true, the list in this response is truncated. To get more items,
pass the value of the NextMarker element in this response to
the Marker parameter in a subsequent request.
Returns a reference to this object so that method calls can be chained together.
truncated -
A flag that indicates whether there are more items in the
list. When this value is true, the list in this response is
truncated. To get more items, pass the value of the
NextMarker element in this response to the
Marker parameter in a subsequent request.
public String toString()
toString in class ObjectObject.toString()Copyright © 2018. All rights reserved.