Class SubnetPoolState.Builder
- java.lang.Object
-
- com.pulumi.openstack.networking.inputs.SubnetPoolState.Builder
-
- Enclosing class:
- SubnetPoolState
public static final class SubnetPoolState.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()Builder(SubnetPoolState defaults)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SubnetPoolState.BuilderaddressScopeId(com.pulumi.core.Output<java.lang.String> addressScopeId)SubnetPoolState.BuilderaddressScopeId(java.lang.String addressScopeId)SubnetPoolState.BuilderallTags(com.pulumi.core.Output<java.util.List<java.lang.String>> allTags)SubnetPoolState.BuilderallTags(java.lang.String... allTags)SubnetPoolState.BuilderallTags(java.util.List<java.lang.String> allTags)SubnetPoolStatebuild()SubnetPoolState.BuildercreatedAt(com.pulumi.core.Output<java.lang.String> createdAt)SubnetPoolState.BuildercreatedAt(java.lang.String createdAt)SubnetPoolState.BuilderdefaultPrefixlen(com.pulumi.core.Output<java.lang.Integer> defaultPrefixlen)SubnetPoolState.BuilderdefaultPrefixlen(java.lang.Integer defaultPrefixlen)SubnetPoolState.BuilderdefaultQuota(com.pulumi.core.Output<java.lang.Integer> defaultQuota)SubnetPoolState.BuilderdefaultQuota(java.lang.Integer defaultQuota)SubnetPoolState.Builderdescription(com.pulumi.core.Output<java.lang.String> description)SubnetPoolState.Builderdescription(java.lang.String description)SubnetPoolState.BuilderipVersion(com.pulumi.core.Output<java.lang.Integer> ipVersion)SubnetPoolState.BuilderipVersion(java.lang.Integer ipVersion)SubnetPoolState.BuilderisDefault(com.pulumi.core.Output<java.lang.Boolean> isDefault)SubnetPoolState.BuilderisDefault(java.lang.Boolean isDefault)SubnetPoolState.BuildermaxPrefixlen(com.pulumi.core.Output<java.lang.Integer> maxPrefixlen)SubnetPoolState.BuildermaxPrefixlen(java.lang.Integer maxPrefixlen)SubnetPoolState.BuilderminPrefixlen(com.pulumi.core.Output<java.lang.Integer> minPrefixlen)SubnetPoolState.BuilderminPrefixlen(java.lang.Integer minPrefixlen)SubnetPoolState.Buildername(com.pulumi.core.Output<java.lang.String> name)SubnetPoolState.Buildername(java.lang.String name)SubnetPoolState.Builderprefixes(com.pulumi.core.Output<java.util.List<java.lang.String>> prefixes)SubnetPoolState.Builderprefixes(java.lang.String... prefixes)SubnetPoolState.Builderprefixes(java.util.List<java.lang.String> prefixes)SubnetPoolState.BuilderprojectId(com.pulumi.core.Output<java.lang.String> projectId)SubnetPoolState.BuilderprojectId(java.lang.String projectId)SubnetPoolState.Builderregion(com.pulumi.core.Output<java.lang.String> region)SubnetPoolState.Builderregion(java.lang.String region)SubnetPoolState.BuilderrevisionNumber(com.pulumi.core.Output<java.lang.Integer> revisionNumber)SubnetPoolState.BuilderrevisionNumber(java.lang.Integer revisionNumber)SubnetPoolState.Buildershared(com.pulumi.core.Output<java.lang.Boolean> shared)SubnetPoolState.Buildershared(java.lang.Boolean shared)SubnetPoolState.Buildertags(com.pulumi.core.Output<java.util.List<java.lang.String>> tags)SubnetPoolState.Buildertags(java.lang.String... tags)SubnetPoolState.Buildertags(java.util.List<java.lang.String> tags)SubnetPoolState.BuilderupdatedAt(com.pulumi.core.Output<java.lang.String> updatedAt)SubnetPoolState.BuilderupdatedAt(java.lang.String updatedAt)SubnetPoolState.BuildervalueSpecs(com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.Object>> valueSpecs)SubnetPoolState.BuildervalueSpecs(java.util.Map<java.lang.String,java.lang.Object> valueSpecs)
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(SubnetPoolState defaults)
-
-
Method Detail
-
addressScopeId
public SubnetPoolState.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 SubnetPoolState.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
-
allTags
public SubnetPoolState.Builder allTags(@Nullable com.pulumi.core.Output<java.util.List<java.lang.String>> allTags)
- Parameters:
allTags- The collection of tags assigned on the subnetpool, which have been explicitly and implicitly added.- Returns:
- builder
-
allTags
public SubnetPoolState.Builder allTags(java.util.List<java.lang.String> allTags)
- Parameters:
allTags- The collection of tags assigned on the subnetpool, which have been explicitly and implicitly added.- Returns:
- builder
-
allTags
public SubnetPoolState.Builder allTags(java.lang.String... allTags)
- Parameters:
allTags- The collection of tags assigned on the subnetpool, which have been explicitly and implicitly added.- Returns:
- builder
-
createdAt
public SubnetPoolState.Builder createdAt(@Nullable com.pulumi.core.Output<java.lang.String> createdAt)
- Parameters:
createdAt- The time at which subnetpool was created.- Returns:
- builder
-
createdAt
public SubnetPoolState.Builder createdAt(java.lang.String createdAt)
- Parameters:
createdAt- The time at which subnetpool was created.- Returns:
- builder
-
defaultPrefixlen
public SubnetPoolState.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 SubnetPoolState.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 SubnetPoolState.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 SubnetPoolState.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 SubnetPoolState.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 SubnetPoolState.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 SubnetPoolState.Builder ipVersion(@Nullable com.pulumi.core.Output<java.lang.Integer> ipVersion)
- Parameters:
ipVersion- The IP protocol version.- Returns:
- builder
-
ipVersion
public SubnetPoolState.Builder ipVersion(java.lang.Integer ipVersion)
- Parameters:
ipVersion- The IP protocol version.- Returns:
- builder
-
isDefault
public SubnetPoolState.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 SubnetPoolState.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 SubnetPoolState.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 SubnetPoolState.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 SubnetPoolState.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 SubnetPoolState.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 SubnetPoolState.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 SubnetPoolState.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 SubnetPoolState.Builder prefixes(@Nullable 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 SubnetPoolState.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 SubnetPoolState.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 SubnetPoolState.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 SubnetPoolState.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 SubnetPoolState.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 SubnetPoolState.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
-
revisionNumber
public SubnetPoolState.Builder revisionNumber(@Nullable com.pulumi.core.Output<java.lang.Integer> revisionNumber)
- Parameters:
revisionNumber- The revision number of the subnetpool.- Returns:
- builder
-
revisionNumber
public SubnetPoolState.Builder revisionNumber(java.lang.Integer revisionNumber)
- Parameters:
revisionNumber- The revision number of the subnetpool.- Returns:
- builder
-
shared
public SubnetPoolState.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 SubnetPoolState.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 SubnetPoolState.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 SubnetPoolState.Builder tags(java.util.List<java.lang.String> tags)
- Parameters:
tags- A set of string tags for the subnetpool.- Returns:
- builder
-
tags
public SubnetPoolState.Builder tags(java.lang.String... tags)
- Parameters:
tags- A set of string tags for the subnetpool.- Returns:
- builder
-
updatedAt
public SubnetPoolState.Builder updatedAt(@Nullable com.pulumi.core.Output<java.lang.String> updatedAt)
- Parameters:
updatedAt- The time at which subnetpool was created.- Returns:
- builder
-
updatedAt
public SubnetPoolState.Builder updatedAt(java.lang.String updatedAt)
- Parameters:
updatedAt- The time at which subnetpool was created.- Returns:
- builder
-
valueSpecs
public SubnetPoolState.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 SubnetPoolState.Builder valueSpecs(java.util.Map<java.lang.String,java.lang.Object> valueSpecs)
- Parameters:
valueSpecs- Map of additional options.- Returns:
- builder
-
build
public SubnetPoolState build()
-
-