Class VpcLinkAttributes.Builder
java.lang.Object
software.amazon.awscdk.services.apigatewayv2.VpcLinkAttributes.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<VpcLinkAttributes>
- Enclosing interface:
- VpcLinkAttributes
@Stability(Experimental)
public static final class VpcLinkAttributes.Builder
extends Object
implements software.amazon.jsii.Builder<VpcLinkAttributes>
A builder for
VpcLinkAttributes-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofVpcLinkAttributes.getVpc()Sets the value ofVpcLinkAttributes.getVpcLinkId()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
vpc
Sets the value ofVpcLinkAttributes.getVpc()- Parameters:
vpc- The VPC to which this VPC link is associated with. This parameter is required.- Returns:
this
-
vpcLinkId
Sets the value ofVpcLinkAttributes.getVpcLinkId()- Parameters:
vpcLinkId- The VPC Link id. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<VpcLinkAttributes>- Returns:
- a new instance of
VpcLinkAttributes - Throws:
NullPointerException- if any required attribute was not provided
-