Class CfnClusterSecurityGroupProps.Builder
java.lang.Object
software.amazon.awscdk.services.redshift.CfnClusterSecurityGroupProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnClusterSecurityGroupProps>
- Enclosing interface:
CfnClusterSecurityGroupProps
@Stability(Stable)
public static final class CfnClusterSecurityGroupProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnClusterSecurityGroupProps>
A builder for
CfnClusterSecurityGroupProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.description(String description) Sets the value ofCfnClusterSecurityGroupProps.getDescription()Sets the value ofCfnClusterSecurityGroupProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
description
Sets the value ofCfnClusterSecurityGroupProps.getDescription()- Parameters:
description- A description for the security group. This parameter is required.- Returns:
this
-
tags
Sets the value ofCfnClusterSecurityGroupProps.getTags()- Parameters:
tags- Specifies an arbitrary set of tags (key–value pairs) to associate with this security group. Use tags to manage your resources.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnClusterSecurityGroupProps>- Returns:
- a new instance of
CfnClusterSecurityGroupProps - Throws:
NullPointerException- if any required attribute was not provided
-