Interface CreateVpcEndpointRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<CreateVpcEndpointRequest.Builder,
,CreateVpcEndpointRequest> OpenSearchRequest.Builder
,SdkBuilder<CreateVpcEndpointRequest.Builder,
,CreateVpcEndpointRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
CreateVpcEndpointRequest
public static interface CreateVpcEndpointRequest.Builder
extends OpenSearchRequest.Builder, SdkPojo, CopyableBuilder<CreateVpcEndpointRequest.Builder,CreateVpcEndpointRequest>
-
Method Summary
Modifier and TypeMethodDescriptionclientToken
(String clientToken) Unique, case-sensitive identifier to ensure idempotency of the request.The Amazon Resource Name (ARN) of the domain to create the endpoint for.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.default CreateVpcEndpointRequest.Builder
vpcOptions
(Consumer<VPCOptions.Builder> vpcOptions) Options to specify the subnets and security groups for the endpoint.vpcOptions
(VPCOptions vpcOptions) Options to specify the subnets and security groups for the endpoint.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.opensearch.model.OpenSearchRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
domainArn
The Amazon Resource Name (ARN) of the domain to create the endpoint for.
- Parameters:
domainArn
- The Amazon Resource Name (ARN) of the domain to create the endpoint for.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
vpcOptions
Options to specify the subnets and security groups for the endpoint.
- Parameters:
vpcOptions
- Options to specify the subnets and security groups for the endpoint.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
vpcOptions
Options to specify the subnets and security groups for the endpoint.
This is a convenience method that creates an instance of theVPCOptions.Builder
avoiding the need to create one manually viaVPCOptions.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tovpcOptions(VPCOptions)
.- Parameters:
vpcOptions
- a consumer that will call methods onVPCOptions.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
clientToken
Unique, case-sensitive identifier to ensure idempotency of the request.
- Parameters:
clientToken
- Unique, case-sensitive identifier to ensure idempotency of the request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
CreateVpcEndpointRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
CreateVpcEndpointRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-