Class CfnClientVpnEndpoint.TagSpecificationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.ec2.CfnClientVpnEndpoint.TagSpecificationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnClientVpnEndpoint.TagSpecificationProperty>
- Enclosing interface:
CfnClientVpnEndpoint.TagSpecificationProperty
@Stability(Stable)
public static final class CfnClientVpnEndpoint.TagSpecificationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnClientVpnEndpoint.TagSpecificationProperty>
A builder for
CfnClientVpnEndpoint.TagSpecificationProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.resourceType(String resourceType) Sets the value ofCfnClientVpnEndpoint.TagSpecificationProperty.getResourceType()Sets the value ofCfnClientVpnEndpoint.TagSpecificationProperty.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
resourceType
@Stability(Stable) public CfnClientVpnEndpoint.TagSpecificationProperty.Builder resourceType(String resourceType) Sets the value ofCfnClientVpnEndpoint.TagSpecificationProperty.getResourceType()- Parameters:
resourceType- The type of resource to tag. This parameter is required. To tag a Client VPN endpoint,ResourceTypemust beclient-vpn-endpoint.- Returns:
this
-
tags
@Stability(Stable) public CfnClientVpnEndpoint.TagSpecificationProperty.Builder tags(List<? extends CfnTag> tags) Sets the value ofCfnClientVpnEndpoint.TagSpecificationProperty.getTags()- Parameters:
tags- The tags to apply to the resource. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnClientVpnEndpoint.TagSpecificationProperty>- Returns:
- a new instance of
CfnClientVpnEndpoint.TagSpecificationProperty - Throws:
NullPointerException- if any required attribute was not provided
-