Interface ListInstanceTypeDetailsResponse.Builder

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

public static interface ListInstanceTypeDetailsResponse.Builder extends OpenSearchResponse.Builder, SdkPojo, CopyableBuilder<ListInstanceTypeDetailsResponse.Builder,ListInstanceTypeDetailsResponse>
  • Method Details

    • instanceTypeDetails

      ListInstanceTypeDetailsResponse.Builder instanceTypeDetails(Collection<InstanceTypeDetails> instanceTypeDetails)

      Lists all supported instance types and features for the given OpenSearch or Elasticsearch version.

      Parameters:
      instanceTypeDetails - Lists all supported instance types and features for the given OpenSearch or Elasticsearch version.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • instanceTypeDetails

      ListInstanceTypeDetailsResponse.Builder instanceTypeDetails(InstanceTypeDetails... instanceTypeDetails)

      Lists all supported instance types and features for the given OpenSearch or Elasticsearch version.

      Parameters:
      instanceTypeDetails - Lists all supported instance types and features for the given OpenSearch or Elasticsearch version.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • instanceTypeDetails

      Lists all supported instance types and features for the given OpenSearch or Elasticsearch version.

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

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

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

      When nextToken is returned, there are more results available. The value of nextToken is a unique pagination token for each page. Send the request again using the returned token to retrieve the next page.

      Parameters:
      nextToken - When nextToken is returned, there are more results available. The value of nextToken is a unique pagination token for each page. Send the request again using the returned token to retrieve the next page.
      Returns:
      Returns a reference to this object so that method calls can be chained together.