Class CfnPrivateGraphEndpointProps.Builder
java.lang.Object
software.amazon.awscdk.services.neptunegraph.CfnPrivateGraphEndpointProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnPrivateGraphEndpointProps>
- Enclosing interface:
CfnPrivateGraphEndpointProps
@Stability(Stable)
public static final class CfnPrivateGraphEndpointProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnPrivateGraphEndpointProps>
A builder for
CfnPrivateGraphEndpointProps
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.graphIdentifier
(String graphIdentifier) Sets the value ofCfnPrivateGraphEndpointProps.getGraphIdentifier()
securityGroupIds
(List<String> securityGroupIds) Sets the value ofCfnPrivateGraphEndpointProps.getSecurityGroupIds()
Sets the value ofCfnPrivateGraphEndpointProps.getSubnetIds()
Sets the value ofCfnPrivateGraphEndpointProps.getVpcId()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
graphIdentifier
@Stability(Stable) public CfnPrivateGraphEndpointProps.Builder graphIdentifier(String graphIdentifier) Sets the value ofCfnPrivateGraphEndpointProps.getGraphIdentifier()
- Parameters:
graphIdentifier
- The unique identifier of the Neptune Analytics graph. This parameter is required.- Returns:
this
-
vpcId
Sets the value ofCfnPrivateGraphEndpointProps.getVpcId()
- Parameters:
vpcId
- The VPC in which the private graph endpoint needs to be created. This parameter is required.- Returns:
this
-
securityGroupIds
@Stability(Stable) public CfnPrivateGraphEndpointProps.Builder securityGroupIds(List<String> securityGroupIds) Sets the value ofCfnPrivateGraphEndpointProps.getSecurityGroupIds()
- Parameters:
securityGroupIds
- Security groups to be attached to the private graph endpoint..- Returns:
this
-
subnetIds
Sets the value ofCfnPrivateGraphEndpointProps.getSubnetIds()
- Parameters:
subnetIds
- Subnets in which private graph endpoint ENIs are created.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnPrivateGraphEndpointProps>
- Returns:
- a new instance of
CfnPrivateGraphEndpointProps
- Throws:
NullPointerException
- if any required attribute was not provided
-