Class CfnVpcEndpoint.Builder
java.lang.Object
software.amazon.awscdk.services.opensearchserverless.CfnVpcEndpoint.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnVpcEndpoint>
- Enclosing class:
CfnVpcEndpoint
@Stability(Stable)
public static final class CfnVpcEndpoint.Builder
extends Object
implements software.amazon.jsii.Builder<CfnVpcEndpoint>
A fluent builder for
CfnVpcEndpoint
.-
Method Summary
Modifier and TypeMethodDescriptionbuild()
static CfnVpcEndpoint.Builder
The name of the endpoint.securityGroupIds
(List<String> securityGroupIds) The unique identifiers of the security groups that define the ports, protocols, and sources for inbound traffic that you are authorizing into your endpoint.The ID of the subnets from which you access OpenSearch Serverless.The ID of the VPC from which you access OpenSearch Serverless.
-
Method Details
-
create
@Stability(Stable) public static CfnVpcEndpoint.Builder create(software.constructs.Construct scope, String id) - Parameters:
scope
- Scope in which this resource is defined. This parameter is required.id
- Construct identifier for this resource (unique in its scope). This parameter is required.- Returns:
- a new instance of
CfnVpcEndpoint.Builder
.
-
name
The name of the endpoint.- Parameters:
name
- The name of the endpoint. This parameter is required.- Returns:
this
- See Also:
-
subnetIds
The ID of the subnets from which you access OpenSearch Serverless.- Parameters:
subnetIds
- The ID of the subnets from which you access OpenSearch Serverless. This parameter is required.- Returns:
this
- See Also:
-
vpcId
The ID of the VPC from which you access OpenSearch Serverless.- Parameters:
vpcId
- The ID of the VPC from which you access OpenSearch Serverless. This parameter is required.- Returns:
this
- See Also:
-
securityGroupIds
The unique identifiers of the security groups that define the ports, protocols, and sources for inbound traffic that you are authorizing into your endpoint.- Parameters:
securityGroupIds
- The unique identifiers of the security groups that define the ports, protocols, and sources for inbound traffic that you are authorizing into your endpoint. This parameter is required.- Returns:
this
- See Also:
-
build
- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnVpcEndpoint>
- Returns:
- a newly built instance of
CfnVpcEndpoint
.
-