Class CfnClusterSubnetGroup.Builder
java.lang.Object
software.amazon.awscdk.services.redshift.CfnClusterSubnetGroup.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnClusterSubnetGroup>
- Enclosing class:
CfnClusterSubnetGroup
@Stability(Stable)
public static final class CfnClusterSubnetGroup.Builder
extends Object
implements software.amazon.jsii.Builder<CfnClusterSubnetGroup>
A fluent builder for
CfnClusterSubnetGroup
.-
Method Summary
Modifier and TypeMethodDescriptionbuild()
description
(String description) A description for the subnet group.An array of VPC subnet IDs.Specifies an arbitrary set of tags (key–value pairs) to associate with this subnet group.
-
Method Details
-
create
- Parameters:
scope
-- scope in which this resource is defined.
id
-- scoped id of the resource.
- Returns:
- a new instance of
CfnClusterSubnetGroup.Builder
.
-
description
A description for the subnet group.- Parameters:
description
- A description for the subnet group. This parameter is required.- Returns:
this
-
subnetIds
An array of VPC subnet IDs.A maximum of 20 subnets can be modified in a single request.
- Parameters:
subnetIds
- An array of VPC subnet IDs. This parameter is required.- Returns:
this
-
tags
Specifies an arbitrary set of tags (key–value pairs) to associate with this subnet group.Use tags to manage your resources.
- Parameters:
tags
- Specifies an arbitrary set of tags (key–value pairs) to associate with this subnet group. This parameter is required.- Returns:
this
-
build
- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnClusterSubnetGroup>
- Returns:
- a newly built instance of
CfnClusterSubnetGroup
.
-