Class ListGrantsResult
- All Implemented Interfaces:
Serializable,Cloneable
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()booleanA list of grants.WhenTruncatedis true, this value is present and contains the value to use for theMarkerparameter in a subsequent pagination request.A flag that indicates whether there are more items in the list.inthashCode()A flag that indicates whether there are more items in the list.voidsetGrants(Collection<GrantListEntry> grants) A list of grants.voidsetNextMarker(String nextMarker) WhenTruncatedis true, this value is present and contains the value to use for theMarkerparameter in a subsequent pagination request.voidsetTruncated(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.withGrants(GrantListEntry... grants) A list of grants.withGrants(Collection<GrantListEntry> grants) A list of grants.withNextMarker(String nextMarker) WhenTruncatedis true, this value is present and contains the value to use for theMarkerparameter in a subsequent pagination request.withTruncated(Boolean truncated) A flag that indicates whether there are more items in the list.
-
Constructor Details
-
ListGrantsResult
public ListGrantsResult()
-
-
Method Details
-
getGrants
A list of grants.
- Returns:
- A list of grants.
-
setGrants
A list of grants.
- Parameters:
grants- A list of grants.
-
withGrants
A list of grants.
NOTE: This method appends the values to the existing list (if any). Use
setGrants(java.util.Collection)orwithGrants(java.util.Collection)if you want to override the existing values.- Parameters:
grants- A list of grants.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withGrants
A list of grants.
- Parameters:
grants- A list of grants.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setNextMarker
When
Truncatedis true, this value is present and contains the value to use for theMarkerparameter in a subsequent pagination request.- Parameters:
nextMarker- WhenTruncatedis true, this value is present and contains the value to use for theMarkerparameter in a subsequent pagination request.
-
getNextMarker
When
Truncatedis true, this value is present and contains the value to use for theMarkerparameter in a subsequent pagination request.- Returns:
- When
Truncatedis true, this value is present and contains the value to use for theMarkerparameter in a subsequent pagination request.
-
withNextMarker
When
Truncatedis true, this value is present and contains the value to use for theMarkerparameter in a subsequent pagination request.- Parameters:
nextMarker- WhenTruncatedis true, this value is present and contains the value to use for theMarkerparameter 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
Markerparameter 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 theMarkerparameter 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
Markerparameter 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
Markerparameter 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
Markerparameter 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 theMarkerparameter 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
Markerparameter 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
Markerparameter 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
-