Class CfnVpcLinkMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.apigateway.CfnVpcLinkMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnVpcLinkMixinProps>
- Enclosing interface:
CfnVpcLinkMixinProps
@Stability(Stable)
public static final class CfnVpcLinkMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnVpcLinkMixinProps>
A builder for
CfnVpcLinkMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.description(String description) Sets the value ofCfnVpcLinkMixinProps.getDescription()Sets the value ofCfnVpcLinkMixinProps.getName()Sets the value ofCfnVpcLinkMixinProps.getTags()targetArns(List<? extends Object> targetArns) Sets the value ofCfnVpcLinkMixinProps.getTargetArns()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
description
Sets the value ofCfnVpcLinkMixinProps.getDescription()- Parameters:
description- The description of the VPC link.- Returns:
this
-
name
Sets the value ofCfnVpcLinkMixinProps.getName()- Parameters:
name- The name used to label and identify the VPC link.- Returns:
this
-
tags
Sets the value ofCfnVpcLinkMixinProps.getTags()- Parameters:
tags- An array of arbitrary tags (key-value pairs) to associate with the VPC link.- Returns:
this
-
targetArns
@Stability(Stable) public CfnVpcLinkMixinProps.Builder targetArns(List<? extends Object> targetArns) Sets the value ofCfnVpcLinkMixinProps.getTargetArns()- Parameters:
targetArns- The ARN of the network load balancer of the VPC targeted by the VPC link. The network load balancer must be owned by the same AWS account of the API owner.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnVpcLinkMixinProps>- Returns:
- a new instance of
CfnVpcLinkMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-