Package io.github.cdklabs.projen
Class DockerComposeNetworkIpamSubnetConfig.Builder
- java.lang.Object
-
- io.github.cdklabs.projen.DockerComposeNetworkIpamSubnetConfig.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<DockerComposeNetworkIpamSubnetConfig>
- Enclosing interface:
- DockerComposeNetworkIpamSubnetConfig
@Stability(Experimental) public static final class DockerComposeNetworkIpamSubnetConfig.Builder extends Object implements software.amazon.jsii.Builder<DockerComposeNetworkIpamSubnetConfig>
A builder forDockerComposeNetworkIpamSubnetConfig
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DockerComposeNetworkIpamSubnetConfigbuild()Builds the configured instance.DockerComposeNetworkIpamSubnetConfig.Buildersubnet(String subnet)Sets the value ofDockerComposeNetworkIpamSubnetConfig.getSubnet()
-
-
-
Method Detail
-
subnet
@Stability(Experimental) public DockerComposeNetworkIpamSubnetConfig.Builder subnet(String subnet)
Sets the value ofDockerComposeNetworkIpamSubnetConfig.getSubnet()- Parameters:
subnet- Subnet in CIDR format that represents a network segment.- Returns:
this
-
build
@Stability(Experimental) public DockerComposeNetworkIpamSubnetConfig build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<DockerComposeNetworkIpamSubnetConfig>- Returns:
- a new instance of
DockerComposeNetworkIpamSubnetConfig - Throws:
NullPointerException- if any required attribute was not provided
-
-