Interface DescribeReservedElasticsearchInstanceOfferingsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<DescribeReservedElasticsearchInstanceOfferingsResponse.Builder,,DescribeReservedElasticsearchInstanceOfferingsResponse> ElasticsearchResponse.Builder,SdkBuilder<DescribeReservedElasticsearchInstanceOfferingsResponse.Builder,,DescribeReservedElasticsearchInstanceOfferingsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
DescribeReservedElasticsearchInstanceOfferingsResponse
@Mutable
@NotThreadSafe
public static interface DescribeReservedElasticsearchInstanceOfferingsResponse.Builder
extends ElasticsearchResponse.Builder, SdkPojo, CopyableBuilder<DescribeReservedElasticsearchInstanceOfferingsResponse.Builder,DescribeReservedElasticsearchInstanceOfferingsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionProvides an identifier to allow retrieval of paginated results.reservedElasticsearchInstanceOfferings(Collection<ReservedElasticsearchInstanceOffering> reservedElasticsearchInstanceOfferings) List of reserved Elasticsearch instance offeringsreservedElasticsearchInstanceOfferings(Consumer<ReservedElasticsearchInstanceOffering.Builder>... reservedElasticsearchInstanceOfferings) List of reserved Elasticsearch instance offeringsreservedElasticsearchInstanceOfferings(ReservedElasticsearchInstanceOffering... reservedElasticsearchInstanceOfferings) List of reserved Elasticsearch instance offeringsMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.elasticsearch.model.ElasticsearchResponse.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
-
nextToken
Provides an identifier to allow retrieval of paginated results.
- Parameters:
nextToken- Provides an identifier to allow retrieval of paginated results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
reservedElasticsearchInstanceOfferings
DescribeReservedElasticsearchInstanceOfferingsResponse.Builder reservedElasticsearchInstanceOfferings(Collection<ReservedElasticsearchInstanceOffering> reservedElasticsearchInstanceOfferings) List of reserved Elasticsearch instance offerings
- Parameters:
reservedElasticsearchInstanceOfferings- List of reserved Elasticsearch instance offerings- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
reservedElasticsearchInstanceOfferings
DescribeReservedElasticsearchInstanceOfferingsResponse.Builder reservedElasticsearchInstanceOfferings(ReservedElasticsearchInstanceOffering... reservedElasticsearchInstanceOfferings) List of reserved Elasticsearch instance offerings
- Parameters:
reservedElasticsearchInstanceOfferings- List of reserved Elasticsearch instance offerings- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
reservedElasticsearchInstanceOfferings
DescribeReservedElasticsearchInstanceOfferingsResponse.Builder reservedElasticsearchInstanceOfferings(Consumer<ReservedElasticsearchInstanceOffering.Builder>... reservedElasticsearchInstanceOfferings) List of reserved Elasticsearch instance offerings
This is a convenience method that creates an instance of theReservedElasticsearchInstanceOffering.Builderavoiding the need to create one manually viaReservedElasticsearchInstanceOffering.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toreservedElasticsearchInstanceOfferings(List<ReservedElasticsearchInstanceOffering>).- Parameters:
reservedElasticsearchInstanceOfferings- a consumer that will call methods onReservedElasticsearchInstanceOffering.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-