Class CfnSubnetGroupMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.memorydb.CfnSubnetGroupMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnSubnetGroupMixinProps>
- Enclosing interface:
CfnSubnetGroupMixinProps
@Stability(Stable)
public static final class CfnSubnetGroupMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnSubnetGroupMixinProps>
A builder for
CfnSubnetGroupMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.description(String description) Sets the value ofCfnSubnetGroupMixinProps.getDescription()subnetGroupName(String subnetGroupName) Sets the value ofCfnSubnetGroupMixinProps.getSubnetGroupName()Sets the value ofCfnSubnetGroupMixinProps.getSubnetIds()Sets the value ofCfnSubnetGroupMixinProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
description
Sets the value ofCfnSubnetGroupMixinProps.getDescription()- Parameters:
description- A description of the subnet group.- Returns:
this
-
subnetGroupName
Sets the value ofCfnSubnetGroupMixinProps.getSubnetGroupName()- Parameters:
subnetGroupName- The name of the subnet group to be used for the cluster .- Returns:
this
-
subnetIds
@Stability(Stable) public CfnSubnetGroupMixinProps.Builder subnetIds(List<? extends Object> subnetIds) Sets the value ofCfnSubnetGroupMixinProps.getSubnetIds()- Parameters:
subnetIds- A list of Amazon VPC subnet IDs for the subnet group.- Returns:
this
-
tags
Sets the value ofCfnSubnetGroupMixinProps.getTags()- Parameters:
tags- An array of key-value pairs to apply to this resource. For more information, see Tag .- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnSubnetGroupMixinProps>- Returns:
- a new instance of
CfnSubnetGroupMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-