public class ListRetirableGrantsResult
extends java.lang.Object
implements java.io.Serializable
| Constructor and Description |
|---|
ListRetirableGrantsResult() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.util.List<GrantListEntry> |
getGrants()
A list of grants.
|
java.lang.String |
getNextMarker()
When
Truncated is true, this element is present and contains
the value to use for the Marker parameter in a subsequent
request. |
java.lang.Boolean |
getTruncated()
A flag that indicates whether there are more items in the list.
|
int |
hashCode() |
java.lang.Boolean |
isTruncated()
A flag that indicates whether there are more items in the list.
|
void |
setGrants(java.util.Collection<GrantListEntry> grants)
A list of grants.
|
void |
setNextMarker(java.lang.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 |
setTruncated(java.lang.Boolean truncated)
A flag that indicates whether there are more items in the list.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ListRetirableGrantsResult |
withGrants(java.util.Collection<GrantListEntry> grants)
A list of grants.
|
ListRetirableGrantsResult |
withGrants(GrantListEntry... grants)
A list of grants.
|
ListRetirableGrantsResult |
withNextMarker(java.lang.String nextMarker)
When
Truncated is true, this element is present and contains
the value to use for the Marker parameter in a subsequent
request. |
ListRetirableGrantsResult |
withTruncated(java.lang.Boolean truncated)
A flag that indicates whether there are more items in the list.
|
public java.util.List<GrantListEntry> getGrants()
A list of grants.
A list of grants.
public void setGrants(java.util.Collection<GrantListEntry> grants)
A list of grants.
grants - A list of grants.
public ListRetirableGrantsResult withGrants(GrantListEntry... grants)
A list of grants.
Returns a reference to this object so that method calls can be chained together.
grants - A list of grants.
public ListRetirableGrantsResult withGrants(java.util.Collection<GrantListEntry> grants)
A list of grants.
Returns a reference to this object so that method calls can be chained together.
grants - A list of grants.
public java.lang.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(java.lang.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 ListRetirableGrantsResult withNextMarker(java.lang.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 java.lang.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 thisresponse 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 thisresponse to the Marker parameter in a
subsequent request.
public java.lang.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 thisresponse 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 thisresponse to the Marker parameter in a
subsequent request.
public void setTruncated(java.lang.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 thisresponse 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 thisresponse to the
Marker parameter in a subsequent request.
public ListRetirableGrantsResult withTruncated(java.lang.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 thisresponse 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 thisresponse to the
Marker parameter in a subsequent request.
public java.lang.String toString()
toString in class java.lang.ObjectObject.toString()public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.ObjectCopyright © 2018 Amazon Web Services, Inc. All Rights Reserved.