Interface UpdateVpcEndpointResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<UpdateVpcEndpointResponse.Builder,,UpdateVpcEndpointResponse> ElasticsearchResponse.Builder,SdkBuilder<UpdateVpcEndpointResponse.Builder,,UpdateVpcEndpointResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
UpdateVpcEndpointResponse
public static interface UpdateVpcEndpointResponse.Builder
extends ElasticsearchResponse.Builder, SdkPojo, CopyableBuilder<UpdateVpcEndpointResponse.Builder,UpdateVpcEndpointResponse>
-
Method Summary
Modifier and TypeMethodDescriptionvpcEndpoint(Consumer<VpcEndpoint.Builder> vpcEndpoint) The endpoint to be updated.vpcEndpoint(VpcEndpoint vpcEndpoint) The endpoint to be updated.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
-
vpcEndpoint
The endpoint to be updated.
- Parameters:
vpcEndpoint- The endpoint to be updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
vpcEndpoint
The endpoint to be updated.
This is a convenience method that creates an instance of theVpcEndpoint.Builderavoiding the need to create one manually viaVpcEndpoint.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tovpcEndpoint(VpcEndpoint).- Parameters:
vpcEndpoint- a consumer that will call methods onVpcEndpoint.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-