Interface ListConfigurationsResponse.Builder

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

public static interface ListConfigurationsResponse.Builder extends MqResponse.Builder, SdkPojo, CopyableBuilder<ListConfigurationsResponse.Builder,ListConfigurationsResponse>
  • Method Details

    • configurations

      The list of all revisions for the specified configuration.

      Parameters:
      configurations - The list of all revisions for the specified configuration.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • configurations

      ListConfigurationsResponse.Builder configurations(Configuration... configurations)

      The list of all revisions for the specified configuration.

      Parameters:
      configurations - The list of all revisions for the specified configuration.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • configurations

      The list of all revisions for the specified configuration.

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

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

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

      The maximum number of configurations that Amazon MQ can return per page (20 by default). This value must be an integer from 5 to 100.

      Parameters:
      maxResults - The maximum number of configurations that Amazon MQ can return per page (20 by default). This value must be an integer from 5 to 100.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • nextToken

      The token that specifies the next page of results Amazon MQ should return. To request the first page, leave nextToken empty.

      Parameters:
      nextToken - The token that specifies the next page of results Amazon MQ should return. To request the first page, leave nextToken empty.
      Returns:
      Returns a reference to this object so that method calls can be chained together.