public static final class CfnCarrierGatewayProps.Builder
extends java.lang.Object
CfnCarrierGatewayProps
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CfnCarrierGatewayProps |
build()
Builds the configured instance.
|
CfnCarrierGatewayProps.Builder |
tags(java.util.List<? extends CfnTag> tags)
Sets the value of
CfnCarrierGatewayProps.getTags() |
CfnCarrierGatewayProps.Builder |
vpcId(java.lang.String vpcId)
Sets the value of
CfnCarrierGatewayProps.getVpcId() |
public CfnCarrierGatewayProps.Builder vpcId(java.lang.String vpcId)
CfnCarrierGatewayProps.getVpcId()
vpcId
- The ID of the VPC associated with the carrier gateway. This parameter is required.this
public CfnCarrierGatewayProps.Builder tags(java.util.List<? extends CfnTag> tags)
CfnCarrierGatewayProps.getTags()
tags
- The tags assigned to the carrier gateway.this
public CfnCarrierGatewayProps build()
CfnCarrierGatewayProps
java.lang.NullPointerException
- if any required attribute was not provided