Class CfnClusterSubnetGroupMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.redshift.CfnClusterSubnetGroupMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnClusterSubnetGroupMixinProps>
- Enclosing interface:
CfnClusterSubnetGroupMixinProps
@Stability(Stable)
public static final class CfnClusterSubnetGroupMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnClusterSubnetGroupMixinProps>
A builder for
CfnClusterSubnetGroupMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.description(String description) Sets the value ofCfnClusterSubnetGroupMixinProps.getDescription()Sets the value ofCfnClusterSubnetGroupMixinProps.getSubnetIds()Sets the value ofCfnClusterSubnetGroupMixinProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
description
Sets the value ofCfnClusterSubnetGroupMixinProps.getDescription()- Parameters:
description- A description for the subnet group.- Returns:
this
-
subnetIds
@Stability(Stable) public CfnClusterSubnetGroupMixinProps.Builder subnetIds(List<? extends Object> subnetIds) Sets the value ofCfnClusterSubnetGroupMixinProps.getSubnetIds()- Parameters:
subnetIds- An array of VPC subnet IDs. A maximum of 20 subnets can be modified in a single request.- Returns:
this
-
tags
Sets the value ofCfnClusterSubnetGroupMixinProps.getTags()- Parameters:
tags- Specifies an arbitrary set of tags (key–value pairs) to associate with this subnet group. Use tags to manage your resources.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnClusterSubnetGroupMixinProps>- Returns:
- a new instance of
CfnClusterSubnetGroupMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-