Class VPCConnectionReference.Builder
java.lang.Object
software.amazon.awscdk.interfaces.quicksight.VPCConnectionReference.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<VPCConnectionReference>
- Enclosing interface:
VPCConnectionReference
@Stability(Stable)
public static final class VPCConnectionReference.Builder
extends Object
implements software.amazon.jsii.Builder<VPCConnectionReference>
A builder for
VPCConnectionReference-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionawsAccountId(String awsAccountId) Sets the value ofVPCConnectionReference.getAwsAccountId()build()Builds the configured instance.vpcConnectionArn(String vpcConnectionArn) Sets the value ofVPCConnectionReference.getVpcConnectionArn()vpcConnectionId(String vpcConnectionId) Sets the value ofVPCConnectionReference.getVpcConnectionId()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
awsAccountId
Sets the value ofVPCConnectionReference.getAwsAccountId()- Parameters:
awsAccountId- The AwsAccountId of the VPCConnection resource. This parameter is required.- Returns:
this
-
vpcConnectionArn
Sets the value ofVPCConnectionReference.getVpcConnectionArn()- Parameters:
vpcConnectionArn- The ARN of the VPCConnection resource. This parameter is required.- Returns:
this
-
vpcConnectionId
Sets the value ofVPCConnectionReference.getVpcConnectionId()- Parameters:
vpcConnectionId- The VPCConnectionId of the VPCConnection resource. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<VPCConnectionReference>- Returns:
- a new instance of
VPCConnectionReference - Throws:
NullPointerException- if any required attribute was not provided
-