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.BuildervpcOptions(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
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.opensearch.model.OpenSearchRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods 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.Builderavoiding the need to create one manually viaVPCOptions.builder().When the
Consumercompletes,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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin 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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-