public class ListGrantsResult extends Object implements Serializable, Cloneable
| Constructor and Description |
|---|
ListGrantsResult() |
| Modifier and Type | Method and Description |
|---|---|
ListGrantsResult |
clone() |
boolean |
equals(Object obj) |
List<GrantListEntry> |
getGrants()
A list of grants.
|
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. |
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 |
setGrants(Collection<GrantListEntry> grants)
A list of grants.
|
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 |
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.
|
ListGrantsResult |
withGrants(Collection<GrantListEntry> grants)
A list of grants.
|
ListGrantsResult |
withGrants(GrantListEntry... grants)
A list of grants.
|
ListGrantsResult |
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. |
ListGrantsResult |
withTruncated(Boolean truncated)
A flag that indicates whether there are more items in the list.
|
public List<GrantListEntry> getGrants()
public void setGrants(Collection<GrantListEntry> grants)
grants - A list of grants.public ListGrantsResult withGrants(GrantListEntry... grants)
NOTE: This method appends the values to the existing list (if
any). Use setGrants(java.util.Collection) or withGrants(java.util.Collection) if you want to override the
existing values.
Returns a reference to this object so that method calls can be chained together.
grants - A list of grants.public ListGrantsResult withGrants(Collection<GrantListEntry> grants)
Returns a reference to this object so that method calls can be chained together.
grants - A list of grants.public String getNextMarker()
Truncated is true, this value is present and
contains the value to use for the Marker parameter in a
subsequent pagination request.
Constraints:
Length: 1 - 320
Pattern: [\u0020-\u00FF]*
Truncated is true, this value is present and
contains the value to use for the Marker parameter in a
subsequent pagination request.public void setNextMarker(String nextMarker)
Truncated is true, this value is present and
contains the value to use for the Marker parameter in a
subsequent pagination request.
Constraints:
Length: 1 - 320
Pattern: [\u0020-\u00FF]*
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 ListGrantsResult withNextMarker(String nextMarker)
Truncated is true, this value 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: [\u0020-\u00FF]*
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 Boolean isTruncated()
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 void setTruncated(Boolean truncated)
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 ListGrantsResult withTruncated(Boolean truncated)
Marker
parameter to make a subsequent pagination request to retrieve more
items in the list.
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. 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()
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 ObjectObject.toString()public ListGrantsResult clone()
Copyright © 2015. All rights reserved.