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
@Stability(Stable) public static CfnClusterSubnetGroup.Builder create(software.constructs.Construct scope, String id) - Parameters:
scope
- Scope in which this resource is defined. This parameter is required.id
- Construct identifier for this resource (unique in its scope). This parameter is required.- 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
- See Also:
-
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
- See Also:
-
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
- See Also:
-
build
- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnClusterSubnetGroup>
- Returns:
- a newly built instance of
CfnClusterSubnetGroup
.
-