Class ListKeyPoliciesResult
- All Implemented Interfaces:
Serializable
,Cloneable
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
WhenTruncated
is true, this value is present and contains the value to use for theMarker
parameter in a subsequent pagination request.A list of policy names.A flag that indicates whether there are more items in the list.int
hashCode()
A flag that indicates whether there are more items in the list.void
setNextMarker
(String nextMarker) WhenTruncated
is true, this value is present and contains the value to use for theMarker
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.toString()
Returns a string representation of this object; useful for testing and debugging.withNextMarker
(String nextMarker) WhenTruncated
is true, this value is present and contains the value to use for theMarker
parameter in a subsequent pagination request.withPolicyNames
(String... policyNames) A list of policy names.withPolicyNames
(Collection<String> policyNames) A list of policy names.withTruncated
(Boolean truncated) A flag that indicates whether there are more items in the list.
-
Constructor Details
-
ListKeyPoliciesResult
public ListKeyPoliciesResult()
-
-
Method Details
-
getPolicyNames
A list of policy names. Currently, there is only one policy and it is named "Default".
- Returns:
- A list of policy names. Currently, there is only one policy and it is named "Default".
-
setPolicyNames
A list of policy names. Currently, there is only one policy and it is named "Default".
- Parameters:
policyNames
- A list of policy names. Currently, there is only one policy and it is named "Default".
-
withPolicyNames
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)
orwithPolicyNames(java.util.Collection)
if you want to override the existing values.- Parameters:
policyNames
- A list of policy names. Currently, there is only one policy and it is named "Default".- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withPolicyNames
A list of policy names. Currently, there is only one policy and it is named "Default".
- Parameters:
policyNames
- A list of policy names. Currently, there is only one policy and it is named "Default".- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setNextMarker
When
Truncated
is true, this value is present and contains the value to use for theMarker
parameter in a subsequent pagination request.- Parameters:
nextMarker
- WhenTruncated
is true, this value is present and contains the value to use for theMarker
parameter in a subsequent pagination request.
-
getNextMarker
When
Truncated
is true, this value is present and contains the value to use for theMarker
parameter in a subsequent pagination request.- Returns:
- When
Truncated
is true, this value is present and contains the value to use for theMarker
parameter in a subsequent pagination request.
-
withNextMarker
When
Truncated
is true, this value is present and contains the value to use for theMarker
parameter in a subsequent pagination request.- Parameters:
nextMarker
- WhenTruncated
is true, this value is present and contains the value to use for theMarker
parameter in a subsequent pagination request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setTruncated
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.- Parameters:
truncated
- A flag that indicates whether there are more items in the list. If your results were truncated, you can use theMarker
parameter to make a subsequent pagination request to retrieve more items in the list.
-
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.- Returns:
- 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.
-
withTruncated
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.- Parameters:
truncated
- A flag that indicates whether there are more items in the list. If your results were truncated, you can use theMarker
parameter to make a subsequent pagination request to retrieve more items in the list.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.- Returns:
- 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.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-