Class CfnClusterSubnetGroupProps.Builder
java.lang.Object
software.amazon.awscdk.services.redshift.CfnClusterSubnetGroupProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnClusterSubnetGroupProps>
- Enclosing interface:
CfnClusterSubnetGroupProps
@Stability(Stable)
public static final class CfnClusterSubnetGroupProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnClusterSubnetGroupProps>
A builder for
CfnClusterSubnetGroupProps
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.description
(String description) Sets the value ofCfnClusterSubnetGroupProps.getDescription()
Sets the value ofCfnClusterSubnetGroupProps.getSubnetIds()
Sets the value ofCfnClusterSubnetGroupProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
description
Sets the value ofCfnClusterSubnetGroupProps.getDescription()
- Parameters:
description
- A description for the subnet group. This parameter is required.- Returns:
this
-
subnetIds
Sets the value ofCfnClusterSubnetGroupProps.getSubnetIds()
- Parameters:
subnetIds
- An array of VPC subnet IDs. This parameter is required. A maximum of 20 subnets can be modified in a single request.- Returns:
this
-
tags
Sets the value ofCfnClusterSubnetGroupProps.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:
build
in interfacesoftware.amazon.jsii.Builder<CfnClusterSubnetGroupProps>
- Returns:
- a new instance of
CfnClusterSubnetGroupProps
- Throws:
NullPointerException
- if any required attribute was not provided
-