Interface IpamPrefixListResolverRule.Builder

    • Method Detail

      • ruleType

        IpamPrefixListResolverRule.Builder ruleType​(String ruleType)

        The type of CIDR selection rule. Valid values include include for selecting CIDRs that match the conditions, and exclude for excluding CIDRs that match the conditions.

        Parameters:
        ruleType - The type of CIDR selection rule. Valid values include include for selecting CIDRs that match the conditions, and exclude for 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

        IpamPrefixListResolverRule.Builder ruleType​(IpamPrefixListResolverRuleType ruleType)

        The type of CIDR selection rule. Valid values include include for selecting CIDRs that match the conditions, and exclude for excluding CIDRs that match the conditions.

        Parameters:
        ruleType - The type of CIDR selection rule. Valid values include include for selecting CIDRs that match the conditions, and exclude for 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

        IpamPrefixListResolverRule.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

        IpamPrefixListResolverRule.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

        IpamPrefixListResolverRule.Builder resourceType​(String resourceType)

        For rules of type ipam-resource-cidr, this is the resource type.

        Parameters:
        resourceType - For rules of type ipam-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

        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

        IpamPrefixListResolverRule.Builder conditions​(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.