Interface IpamPrefixListResolverRuleCondition.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<IpamPrefixListResolverRuleCondition.Builder,,IpamPrefixListResolverRuleCondition> SdkBuilder<IpamPrefixListResolverRuleCondition.Builder,,IpamPrefixListResolverRuleCondition> SdkPojo
- Enclosing class:
IpamPrefixListResolverRuleCondition
-
Method Summary
Modifier and TypeMethodDescriptionA CIDR block to match against.ipamPoolId(String ipamPoolId) The ID of the IPAM pool to match against.The operation to perform when evaluating this condition.The operation to perform when evaluating this condition.resourceId(String resourceId) The ID of the Amazon Web Services resource to match against.resourceOwner(String resourceOwner) The Amazon Web Services account ID that owns the resources to match against.resourceRegion(String resourceRegion) The Amazon Web Services Region where the resources are located.resourceTag(Consumer<IpamResourceTag.Builder> resourceTag) A tag key-value pair to match against.resourceTag(IpamResourceTag resourceTag) A tag key-value pair to match against.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
-
operation
The operation to perform when evaluating this condition. Valid values include
equals,not-equals,contains, andnot-contains.- Parameters:
operation- The operation to perform when evaluating this condition. Valid values includeequals,not-equals,contains, andnot-contains.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
operation
IpamPrefixListResolverRuleCondition.Builder operation(IpamPrefixListResolverRuleConditionOperation operation) The operation to perform when evaluating this condition. Valid values include
equals,not-equals,contains, andnot-contains.- Parameters:
operation- The operation to perform when evaluating this condition. Valid values includeequals,not-equals,contains, andnot-contains.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
ipamPoolId
The ID of the IPAM pool to match against. This condition selects CIDRs that belong to the specified IPAM pool.
- Parameters:
ipamPoolId- The ID of the IPAM pool to match against. This condition selects CIDRs that belong to the specified IPAM pool.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceId
The ID of the Amazon Web Services resource to match against. This condition selects CIDRs associated with the specified resource.
- Parameters:
resourceId- The ID of the Amazon Web Services resource to match against. This condition selects CIDRs associated with the specified resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceOwner
The Amazon Web Services account ID that owns the resources to match against. This condition selects CIDRs from resources owned by the specified account.
- Parameters:
resourceOwner- The Amazon Web Services account ID that owns the resources to match against. This condition selects CIDRs from resources owned by the specified account.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceRegion
The Amazon Web Services Region where the resources are located. This condition selects CIDRs from resources in the specified Region.
- Parameters:
resourceRegion- The Amazon Web Services Region where the resources are located. This condition selects CIDRs from resources in the specified Region.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceTag
A tag key-value pair to match against. This condition selects CIDRs from resources that have the specified tag.
- Parameters:
resourceTag- A tag key-value pair to match against. This condition selects CIDRs from resources that have the specified tag.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceTag
default IpamPrefixListResolverRuleCondition.Builder resourceTag(Consumer<IpamResourceTag.Builder> resourceTag) A tag key-value pair to match against. This condition selects CIDRs from resources that have the specified tag.
This is a convenience method that creates an instance of theIpamResourceTag.Builderavoiding the need to create one manually viaIpamResourceTag.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toresourceTag(IpamResourceTag).- Parameters:
resourceTag- a consumer that will call methods onIpamResourceTag.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
cidr
A CIDR block to match against. This condition selects CIDRs that fall within or match the specified CIDR range.
- Parameters:
cidr- A CIDR block to match against. This condition selects CIDRs that fall within or match the specified CIDR range.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-