Class CfnOdbNetwork.ServiceNetworkEndpointProperty.Builder
java.lang.Object
software.amazon.awscdk.services.odb.CfnOdbNetwork.ServiceNetworkEndpointProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnOdbNetwork.ServiceNetworkEndpointProperty>
- Enclosing interface:
CfnOdbNetwork.ServiceNetworkEndpointProperty
@Stability(Stable)
public static final class CfnOdbNetwork.ServiceNetworkEndpointProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnOdbNetwork.ServiceNetworkEndpointProperty>
A builder for
CfnOdbNetwork.ServiceNetworkEndpointProperty
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.vpcEndpointId
(String vpcEndpointId) Sets the value ofCfnOdbNetwork.ServiceNetworkEndpointProperty.getVpcEndpointId()
vpcEndpointType
(String vpcEndpointType) Sets the value ofCfnOdbNetwork.ServiceNetworkEndpointProperty.getVpcEndpointType()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
vpcEndpointId
@Stability(Stable) public CfnOdbNetwork.ServiceNetworkEndpointProperty.Builder vpcEndpointId(String vpcEndpointId) Sets the value ofCfnOdbNetwork.ServiceNetworkEndpointProperty.getVpcEndpointId()
- Parameters:
vpcEndpointId
- The identifier of the VPC endpoint.- Returns:
this
-
vpcEndpointType
@Stability(Stable) public CfnOdbNetwork.ServiceNetworkEndpointProperty.Builder vpcEndpointType(String vpcEndpointType) Sets the value ofCfnOdbNetwork.ServiceNetworkEndpointProperty.getVpcEndpointType()
- Parameters:
vpcEndpointType
- The type of the VPC endpoint. Valid Values:Interface | Gateway
- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnOdbNetwork.ServiceNetworkEndpointProperty>
- Returns:
- a new instance of
CfnOdbNetwork.ServiceNetworkEndpointProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-