Interface ListInstanceTypeDetailsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListInstanceTypeDetailsResponse.Builder,,ListInstanceTypeDetailsResponse> OpenSearchResponse.Builder,SdkBuilder<ListInstanceTypeDetailsResponse.Builder,,ListInstanceTypeDetailsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
- ListInstanceTypeDetailsResponse
@Mutable
@NotThreadSafe
public static interface ListInstanceTypeDetailsResponse.Builder
extends OpenSearchResponse.Builder, SdkPojo, CopyableBuilder<ListInstanceTypeDetailsResponse.Builder,ListInstanceTypeDetailsResponse>
-
Method Summary
Modifier and TypeMethodDescriptioninstanceTypeDetails(Collection<InstanceTypeDetails> instanceTypeDetails) Lists all supported instance types and features for the given OpenSearch or Elasticsearch version.instanceTypeDetails(Consumer<InstanceTypeDetails.Builder>... instanceTypeDetails) Lists all supported instance types and features for the given OpenSearch or Elasticsearch version.instanceTypeDetails(InstanceTypeDetails... instanceTypeDetails) Lists all supported instance types and features for the given OpenSearch or Elasticsearch version.WhennextTokenis returned, there are more results available.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.opensearch.model.OpenSearchResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
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
ListInstanceTypeDetailsResponse.Builder instanceTypeDetails(Consumer<InstanceTypeDetails.Builder>... 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 theInstanceTypeDetails.Builderavoiding the need to create one manually viaInstanceTypeDetails.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toinstanceTypeDetails(List<InstanceTypeDetails>).- Parameters:
instanceTypeDetails- a consumer that will call methods onInstanceTypeDetails.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
When
nextTokenis returned, there are more results available. The value ofnextTokenis a unique pagination token for each page. Send the request again using the returned token to retrieve the next page.- Parameters:
nextToken- WhennextTokenis returned, there are more results available. The value ofnextTokenis 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.
-