Class CfnVpcEndpointPropsMixin.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.opensearchserverless.CfnVpcEndpointPropsMixin.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnVpcEndpointPropsMixin>
- Enclosing class:
CfnVpcEndpointPropsMixin
@Stability(Stable)
public static final class CfnVpcEndpointPropsMixin.Builder
extends Object
implements software.amazon.jsii.Builder<CfnVpcEndpointPropsMixin>
A fluent builder for
CfnVpcEndpointPropsMixin.-
Method Summary
Modifier and TypeMethodDescriptionbuild()create()create(CfnPropertyMixinOptions options) The name of the endpoint.securityGroupIds(List<? extends Object> 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 CfnVpcEndpointPropsMixin.Builder create(CfnPropertyMixinOptions options) - Parameters:
options- Mixin options.- Returns:
- a new instance of
CfnVpcEndpointPropsMixin.Builder.
-
create
- Returns:
- a new instance of
CfnVpcEndpointPropsMixin.Builder.
-
name
The name of the endpoint.- Parameters:
name- The name of the endpoint. This parameter is required.- Returns:
this- See Also:
-
securityGroupIds
@Stability(Stable) public CfnVpcEndpointPropsMixin.Builder securityGroupIds(List<? extends Object> 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:
-
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:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnVpcEndpointPropsMixin>- Returns:
- a newly built instance of
CfnVpcEndpointPropsMixin.
-