Class ListRetirableGrantsResult

java.lang.Object
com.amazonaws.services.kms.model.ListRetirableGrantsResult
All Implemented Interfaces:
Serializable, Cloneable

public class ListRetirableGrantsResult extends Object implements Serializable, Cloneable
See Also:
  • Constructor Details

    • ListRetirableGrantsResult

      public ListRetirableGrantsResult()
  • Method Details

    • getGrants

      public List<GrantListEntry> getGrants()

      A list of grants.

      Returns:
      A list of grants.
    • setGrants

      public void setGrants(Collection<GrantListEntry> grants)

      A list of grants.

      Parameters:
      grants - A list of grants.
    • withGrants

      public ListRetirableGrantsResult withGrants(GrantListEntry... grants)

      A list of 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.

      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

      public 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.

      Parameters:
      nextMarker - When Truncated is true, this value is present and contains the value to use for the Marker parameter in a subsequent pagination request.
    • getNextMarker

      public 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.

      Returns:
      When Truncated is true, this value is present and contains the value to use for the Marker parameter in a subsequent pagination request.
    • withNextMarker

      public ListRetirableGrantsResult 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.

      Parameters:
      nextMarker - When Truncated is true, this value is present and contains the value to use for the Marker parameter in a subsequent pagination request.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setTruncated

      public void setTruncated(Boolean 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.

      Parameters:
      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.
    • getTruncated

      public Boolean 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

      public ListRetirableGrantsResult withTruncated(Boolean 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.

      Parameters:
      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.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • isTruncated

      public Boolean 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

      public String toString()
      Returns a string representation of this object; useful for testing and debugging.
      Overrides:
      toString in class Object
      Returns:
      A string representation of this object.
      See Also:
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • clone

      public ListRetirableGrantsResult clone()
      Overrides:
      clone in class Object