Class CfnVpcEndpointMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.opensearchserverless.CfnVpcEndpointMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnVpcEndpointMixinProps>
- Enclosing interface:
CfnVpcEndpointMixinProps
@Stability(Stable)
public static final class CfnVpcEndpointMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnVpcEndpointMixinProps>
A builder for
CfnVpcEndpointMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnVpcEndpointMixinProps.getName()securityGroupIds(List<? extends Object> securityGroupIds) Sets the value ofCfnVpcEndpointMixinProps.getSecurityGroupIds()Sets the value ofCfnVpcEndpointMixinProps.getSubnetIds()Sets the value ofCfnVpcEndpointMixinProps.getVpcId()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
name
Sets the value ofCfnVpcEndpointMixinProps.getName()- Parameters:
name- The name of the endpoint.- Returns:
this
-
securityGroupIds
@Stability(Stable) public CfnVpcEndpointMixinProps.Builder securityGroupIds(List<? extends Object> securityGroupIds) Sets the value ofCfnVpcEndpointMixinProps.getSecurityGroupIds()- 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.- Returns:
this
-
subnetIds
Sets the value ofCfnVpcEndpointMixinProps.getSubnetIds()- Parameters:
subnetIds- The ID of the subnets from which you access OpenSearch Serverless.- Returns:
this
-
vpcId
Sets the value ofCfnVpcEndpointMixinProps.getVpcId()- Parameters:
vpcId- The ID of the VPC from which you access OpenSearch Serverless.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnVpcEndpointMixinProps>- Returns:
- a new instance of
CfnVpcEndpointMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-