Package com.pulumi.openstack.networking
Class SubnetPoolArgs.Builder
- java.lang.Object
-
- com.pulumi.openstack.networking.SubnetPoolArgs.Builder
-
- Enclosing class:
- SubnetPoolArgs
public static final class SubnetPoolArgs.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()Builder(SubnetPoolArgs defaults)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SubnetPoolArgs.BuilderaddressScopeId(com.pulumi.core.Output<java.lang.String> addressScopeId)SubnetPoolArgs.BuilderaddressScopeId(java.lang.String addressScopeId)SubnetPoolArgsbuild()SubnetPoolArgs.BuilderdefaultPrefixlen(com.pulumi.core.Output<java.lang.Integer> defaultPrefixlen)SubnetPoolArgs.BuilderdefaultPrefixlen(java.lang.Integer defaultPrefixlen)SubnetPoolArgs.BuilderdefaultQuota(com.pulumi.core.Output<java.lang.Integer> defaultQuota)SubnetPoolArgs.BuilderdefaultQuota(java.lang.Integer defaultQuota)SubnetPoolArgs.Builderdescription(com.pulumi.core.Output<java.lang.String> description)SubnetPoolArgs.Builderdescription(java.lang.String description)SubnetPoolArgs.BuilderipVersion(com.pulumi.core.Output<java.lang.Integer> ipVersion)SubnetPoolArgs.BuilderipVersion(java.lang.Integer ipVersion)SubnetPoolArgs.BuilderisDefault(com.pulumi.core.Output<java.lang.Boolean> isDefault)SubnetPoolArgs.BuilderisDefault(java.lang.Boolean isDefault)SubnetPoolArgs.BuildermaxPrefixlen(com.pulumi.core.Output<java.lang.Integer> maxPrefixlen)SubnetPoolArgs.BuildermaxPrefixlen(java.lang.Integer maxPrefixlen)SubnetPoolArgs.BuilderminPrefixlen(com.pulumi.core.Output<java.lang.Integer> minPrefixlen)SubnetPoolArgs.BuilderminPrefixlen(java.lang.Integer minPrefixlen)SubnetPoolArgs.Buildername(com.pulumi.core.Output<java.lang.String> name)SubnetPoolArgs.Buildername(java.lang.String name)SubnetPoolArgs.Builderprefixes(com.pulumi.core.Output<java.util.List<java.lang.String>> prefixes)SubnetPoolArgs.Builderprefixes(java.lang.String... prefixes)SubnetPoolArgs.Builderprefixes(java.util.List<java.lang.String> prefixes)SubnetPoolArgs.BuilderprojectId(com.pulumi.core.Output<java.lang.String> projectId)SubnetPoolArgs.BuilderprojectId(java.lang.String projectId)SubnetPoolArgs.Builderregion(com.pulumi.core.Output<java.lang.String> region)SubnetPoolArgs.Builderregion(java.lang.String region)SubnetPoolArgs.Buildershared(com.pulumi.core.Output<java.lang.Boolean> shared)SubnetPoolArgs.Buildershared(java.lang.Boolean shared)SubnetPoolArgs.Buildertags(com.pulumi.core.Output<java.util.List<java.lang.String>> tags)SubnetPoolArgs.Buildertags(java.lang.String... tags)SubnetPoolArgs.Buildertags(java.util.List<java.lang.String> tags)SubnetPoolArgs.BuildervalueSpecs(com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.Object>> valueSpecs)SubnetPoolArgs.BuildervalueSpecs(java.util.Map<java.lang.String,java.lang.Object> valueSpecs)
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(SubnetPoolArgs defaults)
-
-
Method Detail
-
addressScopeId
public SubnetPoolArgs.Builder addressScopeId(@Nullable com.pulumi.core.Output<java.lang.String> addressScopeId)
- Parameters:
addressScopeId- The Neutron address scope to assign to the subnetpool. Changing this updates the address scope id of the existing subnetpool.- Returns:
- builder
-
addressScopeId
public SubnetPoolArgs.Builder addressScopeId(java.lang.String addressScopeId)
- Parameters:
addressScopeId- The Neutron address scope to assign to the subnetpool. Changing this updates the address scope id of the existing subnetpool.- Returns:
- builder
-
defaultPrefixlen
public SubnetPoolArgs.Builder defaultPrefixlen(@Nullable com.pulumi.core.Output<java.lang.Integer> defaultPrefixlen)
- Parameters:
defaultPrefixlen- The size of the prefix to allocate when the cidr or prefixlen attributes are omitted when you create the subnet. Defaults to the MinPrefixLen. Changing this updates the default prefixlen of the existing subnetpool.- Returns:
- builder
-
defaultPrefixlen
public SubnetPoolArgs.Builder defaultPrefixlen(java.lang.Integer defaultPrefixlen)
- Parameters:
defaultPrefixlen- The size of the prefix to allocate when the cidr or prefixlen attributes are omitted when you create the subnet. Defaults to the MinPrefixLen. Changing this updates the default prefixlen of the existing subnetpool.- Returns:
- builder
-
defaultQuota
public SubnetPoolArgs.Builder defaultQuota(@Nullable com.pulumi.core.Output<java.lang.Integer> defaultQuota)
- Parameters:
defaultQuota- The per-project quota on the prefix space that can be allocated from the subnetpool for project subnets. Changing this updates the default quota of the existing subnetpool.- Returns:
- builder
-
defaultQuota
public SubnetPoolArgs.Builder defaultQuota(java.lang.Integer defaultQuota)
- Parameters:
defaultQuota- The per-project quota on the prefix space that can be allocated from the subnetpool for project subnets. Changing this updates the default quota of the existing subnetpool.- Returns:
- builder
-
description
public SubnetPoolArgs.Builder description(@Nullable com.pulumi.core.Output<java.lang.String> description)
- Parameters:
description- The human-readable description for the subnetpool. Changing this updates the description of the existing subnetpool.- Returns:
- builder
-
description
public SubnetPoolArgs.Builder description(java.lang.String description)
- Parameters:
description- The human-readable description for the subnetpool. Changing this updates the description of the existing subnetpool.- Returns:
- builder
-
ipVersion
public SubnetPoolArgs.Builder ipVersion(@Nullable com.pulumi.core.Output<java.lang.Integer> ipVersion)
- Parameters:
ipVersion- The IP protocol version.- Returns:
- builder
-
ipVersion
public SubnetPoolArgs.Builder ipVersion(java.lang.Integer ipVersion)
- Parameters:
ipVersion- The IP protocol version.- Returns:
- builder
-
isDefault
public SubnetPoolArgs.Builder isDefault(@Nullable com.pulumi.core.Output<java.lang.Boolean> isDefault)
- Parameters:
isDefault- Indicates whether the subnetpool is default subnetpool or not. Changing this updates the default status of the existing subnetpool.- Returns:
- builder
-
isDefault
public SubnetPoolArgs.Builder isDefault(java.lang.Boolean isDefault)
- Parameters:
isDefault- Indicates whether the subnetpool is default subnetpool or not. Changing this updates the default status of the existing subnetpool.- Returns:
- builder
-
maxPrefixlen
public SubnetPoolArgs.Builder maxPrefixlen(@Nullable com.pulumi.core.Output<java.lang.Integer> maxPrefixlen)
- Parameters:
maxPrefixlen- The maximum prefix size that can be allocated from the subnetpool. For IPv4 subnetpools, default is 32. For IPv6 subnetpools, default is 128. Changing this updates the max prefixlen of the existing subnetpool.- Returns:
- builder
-
maxPrefixlen
public SubnetPoolArgs.Builder maxPrefixlen(java.lang.Integer maxPrefixlen)
- Parameters:
maxPrefixlen- The maximum prefix size that can be allocated from the subnetpool. For IPv4 subnetpools, default is 32. For IPv6 subnetpools, default is 128. Changing this updates the max prefixlen of the existing subnetpool.- Returns:
- builder
-
minPrefixlen
public SubnetPoolArgs.Builder minPrefixlen(@Nullable com.pulumi.core.Output<java.lang.Integer> minPrefixlen)
- Parameters:
minPrefixlen- The smallest prefix that can be allocated from a subnetpool. For IPv4 subnetpools, default is 8. For IPv6 subnetpools, default is 64. Changing this updates the min prefixlen of the existing subnetpool.- Returns:
- builder
-
minPrefixlen
public SubnetPoolArgs.Builder minPrefixlen(java.lang.Integer minPrefixlen)
- Parameters:
minPrefixlen- The smallest prefix that can be allocated from a subnetpool. For IPv4 subnetpools, default is 8. For IPv6 subnetpools, default is 64. Changing this updates the min prefixlen of the existing subnetpool.- Returns:
- builder
-
name
public SubnetPoolArgs.Builder name(@Nullable com.pulumi.core.Output<java.lang.String> name)
- Parameters:
name- The name of the subnetpool. Changing this updates the name of the existing subnetpool.- Returns:
- builder
-
name
public SubnetPoolArgs.Builder name(java.lang.String name)
- Parameters:
name- The name of the subnetpool. Changing this updates the name of the existing subnetpool.- Returns:
- builder
-
prefixes
public SubnetPoolArgs.Builder prefixes(com.pulumi.core.Output<java.util.List<java.lang.String>> prefixes)
- Parameters:
prefixes- A list of subnet prefixes to assign to the subnetpool. Neutron API merges adjacent prefixes and treats them as a single prefix. Each subnet prefix must be unique among all subnet prefixes in all subnetpools that are associated with the address scope. Changing this updates the prefixes list of the existing subnetpool.- Returns:
- builder
-
prefixes
public SubnetPoolArgs.Builder prefixes(java.util.List<java.lang.String> prefixes)
- Parameters:
prefixes- A list of subnet prefixes to assign to the subnetpool. Neutron API merges adjacent prefixes and treats them as a single prefix. Each subnet prefix must be unique among all subnet prefixes in all subnetpools that are associated with the address scope. Changing this updates the prefixes list of the existing subnetpool.- Returns:
- builder
-
prefixes
public SubnetPoolArgs.Builder prefixes(java.lang.String... prefixes)
- Parameters:
prefixes- A list of subnet prefixes to assign to the subnetpool. Neutron API merges adjacent prefixes and treats them as a single prefix. Each subnet prefix must be unique among all subnet prefixes in all subnetpools that are associated with the address scope. Changing this updates the prefixes list of the existing subnetpool.- Returns:
- builder
-
projectId
public SubnetPoolArgs.Builder projectId(@Nullable com.pulumi.core.Output<java.lang.String> projectId)
- Parameters:
projectId- The owner of the subnetpool. Required if admin wants to create a subnetpool for another project. Changing this creates a new subnetpool.- Returns:
- builder
-
projectId
public SubnetPoolArgs.Builder projectId(java.lang.String projectId)
- Parameters:
projectId- The owner of the subnetpool. Required if admin wants to create a subnetpool for another project. Changing this creates a new subnetpool.- Returns:
- builder
-
region
public SubnetPoolArgs.Builder region(@Nullable com.pulumi.core.Output<java.lang.String> region)
- Parameters:
region- The region in which to obtain the V2 Networking client. A Networking client is needed to create a Neutron subnetpool. If omitted, the `region` argument of the provider is used. Changing this creates a new subnetpool.- Returns:
- builder
-
region
public SubnetPoolArgs.Builder region(java.lang.String region)
- Parameters:
region- The region in which to obtain the V2 Networking client. A Networking client is needed to create a Neutron subnetpool. If omitted, the `region` argument of the provider is used. Changing this creates a new subnetpool.- Returns:
- builder
-
shared
public SubnetPoolArgs.Builder shared(@Nullable com.pulumi.core.Output<java.lang.Boolean> shared)
- Parameters:
shared- Indicates whether this subnetpool is shared across all projects. Changing this updates the shared status of the existing subnetpool.- Returns:
- builder
-
shared
public SubnetPoolArgs.Builder shared(java.lang.Boolean shared)
- Parameters:
shared- Indicates whether this subnetpool is shared across all projects. Changing this updates the shared status of the existing subnetpool.- Returns:
- builder
-
tags
public SubnetPoolArgs.Builder tags(@Nullable com.pulumi.core.Output<java.util.List<java.lang.String>> tags)
- Parameters:
tags- A set of string tags for the subnetpool.- Returns:
- builder
-
tags
public SubnetPoolArgs.Builder tags(java.util.List<java.lang.String> tags)
- Parameters:
tags- A set of string tags for the subnetpool.- Returns:
- builder
-
tags
public SubnetPoolArgs.Builder tags(java.lang.String... tags)
- Parameters:
tags- A set of string tags for the subnetpool.- Returns:
- builder
-
valueSpecs
public SubnetPoolArgs.Builder valueSpecs(@Nullable com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.Object>> valueSpecs)
- Parameters:
valueSpecs- Map of additional options.- Returns:
- builder
-
valueSpecs
public SubnetPoolArgs.Builder valueSpecs(java.util.Map<java.lang.String,java.lang.Object> valueSpecs)
- Parameters:
valueSpecs- Map of additional options.- Returns:
- builder
-
build
public SubnetPoolArgs build()
-
-