Interface IpamPrefixListResolverRule.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<IpamPrefixListResolverRule.Builder,,IpamPrefixListResolverRule> SdkBuilder<IpamPrefixListResolverRule.Builder,,IpamPrefixListResolverRule> SdkPojo
- Enclosing class:
IpamPrefixListResolverRule
-
Method Summary
Modifier and TypeMethodDescriptionconditions(Collection<IpamPrefixListResolverRuleCondition> conditions) The conditions that determine which CIDRs are selected by this rule.conditions(Consumer<IpamPrefixListResolverRuleCondition.Builder>... conditions) The conditions that determine which CIDRs are selected by this rule.conditions(IpamPrefixListResolverRuleCondition... conditions) The conditions that determine which CIDRs are selected by this rule.ipamScopeId(String ipamScopeId) The ID of the IPAM scope from which to select CIDRs.resourceType(String resourceType) For rules of typeipam-resource-cidr, this is the resource type.resourceType(IpamResourceType resourceType) For rules of typeipam-resource-cidr, this is the resource type.The type of CIDR selection rule.ruleType(IpamPrefixListResolverRuleType ruleType) The type of CIDR selection rule.staticCidr(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
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
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:
-
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:
-
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
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
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:
-
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:
-
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
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 toconditions(List<IpamPrefixListResolverRuleCondition>).- 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:
-