Interface StartElasticsearchServiceSoftwareUpdateResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<StartElasticsearchServiceSoftwareUpdateResponse.Builder,,StartElasticsearchServiceSoftwareUpdateResponse> ElasticsearchResponse.Builder,SdkBuilder<StartElasticsearchServiceSoftwareUpdateResponse.Builder,,StartElasticsearchServiceSoftwareUpdateResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
StartElasticsearchServiceSoftwareUpdateResponse
public static interface StartElasticsearchServiceSoftwareUpdateResponse.Builder
extends ElasticsearchResponse.Builder, SdkPojo, CopyableBuilder<StartElasticsearchServiceSoftwareUpdateResponse.Builder,StartElasticsearchServiceSoftwareUpdateResponse>
-
Method Summary
Modifier and TypeMethodDescriptionserviceSoftwareOptions(Consumer<ServiceSoftwareOptions.Builder> serviceSoftwareOptions) The current status of the Elasticsearch service software update.serviceSoftwareOptions(ServiceSoftwareOptions serviceSoftwareOptions) The current status of the Elasticsearch service software update.Methods 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, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
serviceSoftwareOptions
StartElasticsearchServiceSoftwareUpdateResponse.Builder serviceSoftwareOptions(ServiceSoftwareOptions serviceSoftwareOptions) The current status of the Elasticsearch service software update.
- Parameters:
serviceSoftwareOptions- The current status of the Elasticsearch service software update.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
serviceSoftwareOptions
default StartElasticsearchServiceSoftwareUpdateResponse.Builder serviceSoftwareOptions(Consumer<ServiceSoftwareOptions.Builder> serviceSoftwareOptions) The current status of the Elasticsearch service software update.
This is a convenience method that creates an instance of theServiceSoftwareOptions.Builderavoiding the need to create one manually viaServiceSoftwareOptions.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toserviceSoftwareOptions(ServiceSoftwareOptions).- Parameters:
serviceSoftwareOptions- a consumer that will call methods onServiceSoftwareOptions.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-