Class CfnIPAMPrefixListResolver.IpamPrefixListResolverRuleConditionProperty.Builder
java.lang.Object
software.amazon.awscdk.services.ec2.CfnIPAMPrefixListResolver.IpamPrefixListResolverRuleConditionProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnIPAMPrefixListResolver.IpamPrefixListResolverRuleConditionProperty>
- Enclosing interface:
CfnIPAMPrefixListResolver.IpamPrefixListResolverRuleConditionProperty
@Stability(Stable)
public static final class CfnIPAMPrefixListResolver.IpamPrefixListResolverRuleConditionProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnIPAMPrefixListResolver.IpamPrefixListResolverRuleConditionProperty>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.ipamPoolId(String ipamPoolId) resourceId(String resourceId) resourceOwner(String resourceOwner) resourceRegion(String resourceRegion) resourceTag(CfnTag resourceTag) resourceTag(IResolvable resourceTag)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
operation
@Stability(Stable) public CfnIPAMPrefixListResolver.IpamPrefixListResolverRuleConditionProperty.Builder operation(String operation) Sets the value ofCfnIPAMPrefixListResolver.IpamPrefixListResolverRuleConditionProperty.getOperation()- Parameters:
operation- Equals, Not equals, or Subnet Of. This parameter is required. The subnet-of operation only applies to cidr conditions.- Returns:
this
-
cidr
@Stability(Stable) public CfnIPAMPrefixListResolver.IpamPrefixListResolverRuleConditionProperty.Builder cidr(String cidr) - Parameters:
cidr- Condition for the IPAM Resource CIDR rule type. CIDR (like 10.24.34.0/23).- Returns:
this
-
ipamPoolId
@Stability(Stable) public CfnIPAMPrefixListResolver.IpamPrefixListResolverRuleConditionProperty.Builder ipamPoolId(String ipamPoolId) Sets the value ofCfnIPAMPrefixListResolver.IpamPrefixListResolverRuleConditionProperty.getIpamPoolId()- Parameters:
ipamPoolId- Condition for the IPAM Pool CIDR rule type. If not chosen, the resolver applies to all IPAM Pool CIDRs in the scope.- Returns:
this
-
resourceId
@Stability(Stable) public CfnIPAMPrefixListResolver.IpamPrefixListResolverRuleConditionProperty.Builder resourceId(String resourceId) Sets the value ofCfnIPAMPrefixListResolver.IpamPrefixListResolverRuleConditionProperty.getResourceId()- Parameters:
resourceId- Condition for the IPAM Resource CIDR rule type. The unique ID of a resource (like vpc-1234567890abcdef0).- Returns:
this
-
resourceOwner
@Stability(Stable) public CfnIPAMPrefixListResolver.IpamPrefixListResolverRuleConditionProperty.Builder resourceOwner(String resourceOwner) Sets the value ofCfnIPAMPrefixListResolver.IpamPrefixListResolverRuleConditionProperty.getResourceOwner()- Parameters:
resourceOwner- Condition for the IPAM Resource CIDR rule type. Resource owner (like 111122223333).- Returns:
this
-
resourceRegion
@Stability(Stable) public CfnIPAMPrefixListResolver.IpamPrefixListResolverRuleConditionProperty.Builder resourceRegion(String resourceRegion) Sets the value ofCfnIPAMPrefixListResolver.IpamPrefixListResolverRuleConditionProperty.getResourceRegion()- Parameters:
resourceRegion- Condition for the IPAM Resource CIDR rule type. Resource region (like us-east-1).- Returns:
this
-
resourceTag
@Stability(Stable) public CfnIPAMPrefixListResolver.IpamPrefixListResolverRuleConditionProperty.Builder resourceTag(IResolvable resourceTag) Sets the value ofCfnIPAMPrefixListResolver.IpamPrefixListResolverRuleConditionProperty.getResourceTag()- Parameters:
resourceTag- A key-value pair to associate with a resource.- Returns:
this
-
resourceTag
@Stability(Stable) public CfnIPAMPrefixListResolver.IpamPrefixListResolverRuleConditionProperty.Builder resourceTag(CfnTag resourceTag) Sets the value ofCfnIPAMPrefixListResolver.IpamPrefixListResolverRuleConditionProperty.getResourceTag()- Parameters:
resourceTag- A key-value pair to associate with a resource.- Returns:
this
-
build
@Stability(Stable) public CfnIPAMPrefixListResolver.IpamPrefixListResolverRuleConditionProperty build()Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnIPAMPrefixListResolver.IpamPrefixListResolverRuleConditionProperty>- Returns:
- a new instance of
CfnIPAMPrefixListResolver.IpamPrefixListResolverRuleConditionProperty - Throws:
NullPointerException- if any required attribute was not provided
-