Interface IpamPrefixListResolverRuleCondition.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<IpamPrefixListResolverRuleCondition.Builder,IpamPrefixListResolverRuleCondition>,SdkBuilder<IpamPrefixListResolverRuleCondition.Builder,IpamPrefixListResolverRuleCondition>,SdkPojo
- Enclosing class:
- IpamPrefixListResolverRuleCondition
@Mutable @NotThreadSafe public static interface IpamPrefixListResolverRuleCondition.Builder extends SdkPojo, CopyableBuilder<IpamPrefixListResolverRuleCondition.Builder,IpamPrefixListResolverRuleCondition>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description IpamPrefixListResolverRuleCondition.Buildercidr(String cidr)A CIDR block to match against.IpamPrefixListResolverRuleCondition.BuilderipamPoolId(String ipamPoolId)The ID of the IPAM pool to match against.IpamPrefixListResolverRuleCondition.Builderoperation(String operation)The operation to perform when evaluating this condition.IpamPrefixListResolverRuleCondition.Builderoperation(IpamPrefixListResolverRuleConditionOperation operation)The operation to perform when evaluating this condition.IpamPrefixListResolverRuleCondition.BuilderresourceId(String resourceId)The ID of the Amazon Web Services resource to match against.IpamPrefixListResolverRuleCondition.BuilderresourceOwner(String resourceOwner)The Amazon Web Services account ID that owns the resources to match against.IpamPrefixListResolverRuleCondition.BuilderresourceRegion(String resourceRegion)The Amazon Web Services Region where the resources are located.default IpamPrefixListResolverRuleCondition.BuilderresourceTag(Consumer<IpamResourceTag.Builder> resourceTag)A tag key-value pair to match against.IpamPrefixListResolverRuleCondition.BuilderresourceTag(IpamResourceTag resourceTag)A tag key-value pair to match against.-
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
-
operation
IpamPrefixListResolverRuleCondition.Builder operation(String 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:
IpamPrefixListResolverRuleConditionOperation,IpamPrefixListResolverRuleConditionOperation
-
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:
IpamPrefixListResolverRuleConditionOperation,IpamPrefixListResolverRuleConditionOperation
-
ipamPoolId
IpamPrefixListResolverRuleCondition.Builder ipamPoolId(String 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
IpamPrefixListResolverRuleCondition.Builder resourceId(String 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
IpamPrefixListResolverRuleCondition.Builder resourceOwner(String 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
IpamPrefixListResolverRuleCondition.Builder resourceRegion(String 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
IpamPrefixListResolverRuleCondition.Builder resourceTag(IpamResourceTag 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:
resourceTag(IpamResourceTag)
-
cidr
IpamPrefixListResolverRuleCondition.Builder cidr(String 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.
-
-