Interface CreateVpcEndpointResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<CreateVpcEndpointResponse.Builder,,CreateVpcEndpointResponse> ElasticsearchResponse.Builder,SdkBuilder<CreateVpcEndpointResponse.Builder,,CreateVpcEndpointResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
CreateVpcEndpointResponse
public static interface CreateVpcEndpointResponse.Builder
extends ElasticsearchResponse.Builder, SdkPojo, CopyableBuilder<CreateVpcEndpointResponse.Builder,CreateVpcEndpointResponse>
-
Method Summary
Modifier and TypeMethodDescriptionvpcEndpoint(Consumer<VpcEndpoint.Builder> vpcEndpoint) Information about the newly created VPC endpoint.vpcEndpoint(VpcEndpoint vpcEndpoint) Information about the newly created VPC endpoint.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
Information about the newly created VPC endpoint.
- Parameters:
vpcEndpoint- Information about the newly created VPC endpoint.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
vpcEndpoint
Information about the newly created VPC endpoint.
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:
-