Interface ListKeyRotationsResponse.Builder

  • Method Details

    • rotations

      A list of completed key material rotations. When the optional input parameter IncludeKeyMaterial is specified with a value of ALL_KEY_MATERIAL, this list includes the first key material and any imported key material pending rotation.

      Parameters:
      rotations - A list of completed key material rotations. When the optional input parameter IncludeKeyMaterial is specified with a value of ALL_KEY_MATERIAL, this list includes the first key material and any imported key material pending rotation.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • rotations

      A list of completed key material rotations. When the optional input parameter IncludeKeyMaterial is specified with a value of ALL_KEY_MATERIAL, this list includes the first key material and any imported key material pending rotation.

      Parameters:
      rotations - A list of completed key material rotations. When the optional input parameter IncludeKeyMaterial is specified with a value of ALL_KEY_MATERIAL, this list includes the first key material and any imported key material pending rotation.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • rotations

      A list of completed key material rotations. When the optional input parameter IncludeKeyMaterial is specified with a value of ALL_KEY_MATERIAL, this list includes the first key material and any imported key material pending rotation.

      This is a convenience method that creates an instance of the RotationsListEntry.Builder avoiding the need to create one manually via RotationsListEntry.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to rotations(List<RotationsListEntry>).

      Parameters:
      rotations - a consumer that will call methods on RotationsListEntry.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • nextMarker

      ListKeyRotationsResponse.Builder nextMarker(String nextMarker)

      When Truncated is true, this element is present and contains the value to use for the Marker parameter in a subsequent request.

      Parameters:
      nextMarker - When Truncated is true, this element is present and contains the value to use for the Marker parameter in a subsequent request.
      Returns:
      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 this response to the Marker parameter in a subsequent request.

      Parameters:
      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 this response to the Marker parameter in a subsequent request.
      Returns:
      Returns a reference to this object so that method calls can be chained together.