Class CfnSubnetGroupMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.dax.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()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
description
Sets the value ofCfnSubnetGroupMixinProps.getDescription()- Parameters:
description- The description of the subnet group.- Returns:
this
-
subnetGroupName
Sets the value ofCfnSubnetGroupMixinProps.getSubnetGroupName()- Parameters:
subnetGroupName- The name of the subnet group.- Returns:
this
-
subnetIds
Sets the value ofCfnSubnetGroupMixinProps.getSubnetIds()- Parameters:
subnetIds- A list of VPC subnet IDs for the subnet group.- 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
-