Interface CreateVpcEndpointResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<CreateVpcEndpointResponse.Builder,CreateVpcEndpointResponse>
,OpenSearchResponse.Builder
,SdkBuilder<CreateVpcEndpointResponse.Builder,CreateVpcEndpointResponse>
,SdkPojo
,SdkResponse.Builder
- Enclosing class:
- CreateVpcEndpointResponse
public static interface CreateVpcEndpointResponse.Builder extends OpenSearchResponse.Builder, SdkPojo, CopyableBuilder<CreateVpcEndpointResponse.Builder,CreateVpcEndpointResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default CreateVpcEndpointResponse.Builder
vpcEndpoint(Consumer<VpcEndpoint.Builder> vpcEndpoint)
Information about the newly created VPC endpoint.CreateVpcEndpointResponse.Builder
vpcEndpoint(VpcEndpoint vpcEndpoint)
Information about the newly created VPC endpoint.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.opensearch.model.OpenSearchResponse.Builder
build, responseMetadata, responseMetadata
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
vpcEndpoint
CreateVpcEndpointResponse.Builder vpcEndpoint(VpcEndpoint 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
default CreateVpcEndpointResponse.Builder vpcEndpoint(Consumer<VpcEndpoint.Builder> vpcEndpoint)
Information about the newly created VPC endpoint.
This is a convenience method that creates an instance of theVpcEndpoint.Builder
avoiding the need to create one manually viaVpcEndpoint.builder()
.When the
Consumer
completes,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:
vpcEndpoint(VpcEndpoint)
-
-