Interface ListAliasesResponse.Builder

All Superinterfaces:
AwsResponse.Builder, Buildable, CopyableBuilder<ListAliasesResponse.Builder,ListAliasesResponse>, KmsResponse.Builder, SdkBuilder<ListAliasesResponse.Builder,ListAliasesResponse>, SdkPojo, SdkResponse.Builder
Enclosing class:
ListAliasesResponse

public static interface ListAliasesResponse.Builder extends KmsResponse.Builder, SdkPojo, CopyableBuilder<ListAliasesResponse.Builder,ListAliasesResponse>
  • Method Details

    • aliases

      A list of aliases.

      Parameters:
      aliases - A list of aliases.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • aliases

      A list of aliases.

      Parameters:
      aliases - A list of aliases.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • aliases

      A list of aliases.

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

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

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

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

      ListAliasesResponse.Builder truncated(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 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.