Interface IpamPrefixListResolverRule.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<IpamPrefixListResolverRule.Builder,IpamPrefixListResolverRule>,SdkBuilder<IpamPrefixListResolverRule.Builder,IpamPrefixListResolverRule>,SdkPojo
- Enclosing class:
- IpamPrefixListResolverRule
@Mutable @NotThreadSafe public static interface IpamPrefixListResolverRule.Builder extends SdkPojo, CopyableBuilder<IpamPrefixListResolverRule.Builder,IpamPrefixListResolverRule>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description IpamPrefixListResolverRule.Builderconditions(Collection<IpamPrefixListResolverRuleCondition> conditions)The conditions that determine which CIDRs are selected by this rule.IpamPrefixListResolverRule.Builderconditions(Consumer<IpamPrefixListResolverRuleCondition.Builder>... conditions)The conditions that determine which CIDRs are selected by this rule.IpamPrefixListResolverRule.Builderconditions(IpamPrefixListResolverRuleCondition... conditions)The conditions that determine which CIDRs are selected by this rule.IpamPrefixListResolverRule.BuilderipamScopeId(String ipamScopeId)The ID of the IPAM scope from which to select CIDRs.IpamPrefixListResolverRule.BuilderresourceType(String resourceType)For rules of typeipam-resource-cidr, this is the resource type.IpamPrefixListResolverRule.BuilderresourceType(IpamResourceType resourceType)For rules of typeipam-resource-cidr, this is the resource type.IpamPrefixListResolverRule.BuilderruleType(String ruleType)The type of CIDR selection rule.IpamPrefixListResolverRule.BuilderruleType(IpamPrefixListResolverRuleType ruleType)The type of CIDR selection rule.IpamPrefixListResolverRule.BuilderstaticCidr(String staticCidr)A fixed list of CIDRs that do not change (like a manual list replicated across Regions).-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
ruleType
IpamPrefixListResolverRule.Builder ruleType(String ruleType)
The type of CIDR selection rule. Valid values include
includefor selecting CIDRs that match the conditions, andexcludefor excluding CIDRs that match the conditions.- Parameters:
ruleType- The type of CIDR selection rule. Valid values includeincludefor selecting CIDRs that match the conditions, andexcludefor excluding CIDRs that match the conditions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
IpamPrefixListResolverRuleType,IpamPrefixListResolverRuleType
-
ruleType
IpamPrefixListResolverRule.Builder ruleType(IpamPrefixListResolverRuleType ruleType)
The type of CIDR selection rule. Valid values include
includefor selecting CIDRs that match the conditions, andexcludefor excluding CIDRs that match the conditions.- Parameters:
ruleType- The type of CIDR selection rule. Valid values includeincludefor selecting CIDRs that match the conditions, andexcludefor excluding CIDRs that match the conditions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
IpamPrefixListResolverRuleType,IpamPrefixListResolverRuleType
-
staticCidr
IpamPrefixListResolverRule.Builder staticCidr(String staticCidr)
A fixed list of CIDRs that do not change (like a manual list replicated across Regions).
- Parameters:
staticCidr- A fixed list of CIDRs that do not change (like a manual list replicated across Regions).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ipamScopeId
IpamPrefixListResolverRule.Builder ipamScopeId(String ipamScopeId)
The ID of the IPAM scope from which to select CIDRs. This determines whether to select from public or private IP address space.
- Parameters:
ipamScopeId- The ID of the IPAM scope from which to select CIDRs. This determines whether to select from public or private IP address space.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceType
IpamPrefixListResolverRule.Builder resourceType(String resourceType)
For rules of type
ipam-resource-cidr, this is the resource type.- Parameters:
resourceType- For rules of typeipam-resource-cidr, this is the resource type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
IpamResourceType,IpamResourceType
-
resourceType
IpamPrefixListResolverRule.Builder resourceType(IpamResourceType resourceType)
For rules of type
ipam-resource-cidr, this is the resource type.- Parameters:
resourceType- For rules of typeipam-resource-cidr, this is the resource type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
IpamResourceType,IpamResourceType
-
conditions
IpamPrefixListResolverRule.Builder conditions(Collection<IpamPrefixListResolverRuleCondition> conditions)
The conditions that determine which CIDRs are selected by this rule. Conditions specify criteria such as resource type, tags, account IDs, and Regions.
- Parameters:
conditions- The conditions that determine which CIDRs are selected by this rule. Conditions specify criteria such as resource type, tags, account IDs, and Regions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
conditions
IpamPrefixListResolverRule.Builder conditions(IpamPrefixListResolverRuleCondition... conditions)
The conditions that determine which CIDRs are selected by this rule. Conditions specify criteria such as resource type, tags, account IDs, and Regions.
- Parameters:
conditions- The conditions that determine which CIDRs are selected by this rule. Conditions specify criteria such as resource type, tags, account IDs, and Regions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
conditions
IpamPrefixListResolverRule.Builder conditions(Consumer<IpamPrefixListResolverRuleCondition.Builder>... conditions)
The conditions that determine which CIDRs are selected by this rule. Conditions specify criteria such as resource type, tags, account IDs, and Regions.
This is a convenience method that creates an instance of theIpamPrefixListResolverRuleCondition.Builderavoiding the need to create one manually viaIpamPrefixListResolverRuleCondition.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#conditions(List.) - Parameters:
conditions- a consumer that will call methods onIpamPrefixListResolverRuleCondition.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#conditions(java.util.Collection)
-
-