Class VpcEndpointReference.Builder
java.lang.Object
software.amazon.awscdk.services.opensearchserverless.VpcEndpointReference.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<VpcEndpointReference>
- Enclosing interface:
VpcEndpointReference
@Stability(Stable)
public static final class VpcEndpointReference.Builder
extends Object
implements software.amazon.jsii.Builder<VpcEndpointReference>
A builder for
VpcEndpointReference
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.vpcEndpointId
(String vpcEndpointId) Sets the value ofVpcEndpointReference.getVpcEndpointId()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
vpcEndpointId
Sets the value ofVpcEndpointReference.getVpcEndpointId()
- Parameters:
vpcEndpointId
- The Id of the VpcEndpoint resource. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<VpcEndpointReference>
- Returns:
- a new instance of
VpcEndpointReference
- Throws:
NullPointerException
- if any required attribute was not provided
-