Interface IpamPrefixListResolverRuleRequest.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<IpamPrefixListResolverRuleRequest.Builder,IpamPrefixListResolverRuleRequest>,SdkBuilder<IpamPrefixListResolverRuleRequest.Builder,IpamPrefixListResolverRuleRequest>,SdkPojo
- Enclosing class:
- IpamPrefixListResolverRuleRequest
@Mutable @NotThreadSafe public static interface IpamPrefixListResolverRuleRequest.Builder extends SdkPojo, CopyableBuilder<IpamPrefixListResolverRuleRequest.Builder,IpamPrefixListResolverRuleRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description IpamPrefixListResolverRuleRequest.Builderconditions(Collection<IpamPrefixListResolverRuleConditionRequest> conditions)The conditions that determine which CIDRs are selected by this rule.IpamPrefixListResolverRuleRequest.Builderconditions(Consumer<IpamPrefixListResolverRuleConditionRequest.Builder>... conditions)The conditions that determine which CIDRs are selected by this rule.IpamPrefixListResolverRuleRequest.Builderconditions(IpamPrefixListResolverRuleConditionRequest... conditions)The conditions that determine which CIDRs are selected by this rule.IpamPrefixListResolverRuleRequest.BuilderipamScopeId(String ipamScopeId)The ID of the IPAM scope from which to select CIDRs.IpamPrefixListResolverRuleRequest.BuilderresourceType(String resourceType)For rules of typeipam-resource-cidr, this is the resource type.IpamPrefixListResolverRuleRequest.BuilderresourceType(IpamResourceType resourceType)For rules of typeipam-resource-cidr, this is the resource type.IpamPrefixListResolverRuleRequest.BuilderruleType(String ruleType)The type of CIDR selection rule.IpamPrefixListResolverRuleRequest.BuilderruleType(IpamPrefixListResolverRuleType ruleType)The type of CIDR selection rule.IpamPrefixListResolverRuleRequest.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
IpamPrefixListResolverRuleRequest.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
IpamPrefixListResolverRuleRequest.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
IpamPrefixListResolverRuleRequest.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
IpamPrefixListResolverRuleRequest.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
IpamPrefixListResolverRuleRequest.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
IpamPrefixListResolverRuleRequest.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
IpamPrefixListResolverRuleRequest.Builder conditions(Collection<IpamPrefixListResolverRuleConditionRequest> 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
IpamPrefixListResolverRuleRequest.Builder conditions(IpamPrefixListResolverRuleConditionRequest... 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
IpamPrefixListResolverRuleRequest.Builder conditions(Consumer<IpamPrefixListResolverRuleConditionRequest.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 theIpamPrefixListResolverRuleConditionRequest.Builderavoiding the need to create one manually viaIpamPrefixListResolverRuleConditionRequest.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 onIpamPrefixListResolverRuleConditionRequest.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#conditions(java.util.Collection)
-
-