Class AddressList.Builder

  • Enclosing class:
    AddressList

    public static class AddressList.Builder
    extends Object
    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • compartmentId

        public AddressList.Builder compartmentId​(String compartmentId)
        The OCID of the address list’s compartment.
        Parameters:
        compartmentId - the value to set
        Returns:
        this builder
      • displayName

        public AddressList.Builder displayName​(String displayName)
        The user-friendly name of the address list.
        Parameters:
        displayName - the value to set
        Returns:
        this builder
      • addressCount

        public AddressList.Builder addressCount​(BigDecimal addressCount)
        The total number of unique IP addresses in the address list.
        Parameters:
        addressCount - the value to set
        Returns:
        this builder
      • addresses

        public AddressList.Builder addresses​(List<String> addresses)
        The list of IP addresses or CIDR notations.
        Parameters:
        addresses - the value to set
        Returns:
        this builder
      • freeformTags

        public AddressList.Builder freeformTags​(Map<String,​String> freeformTags)
        Free-form tags for this resource.

        Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags.

        Example: {"Department": "Finance"}

        Parameters:
        freeformTags - the value to set
        Returns:
        this builder
      • definedTags

        public AddressList.Builder definedTags​(Map<String,​Map<String,​Object>> definedTags)
        Defined tags for this resource.

        Each key is predefined and scoped to a namespace. For more information, see Resource Tags.

        Example: {"Operations": {"CostCenter": "42"}}

        Parameters:
        definedTags - the value to set
        Returns:
        this builder
      • lifecycleState

        public AddressList.Builder lifecycleState​(LifecycleStates lifecycleState)
        The current lifecycle state of the address list.
        Parameters:
        lifecycleState - the value to set
        Returns:
        this builder
      • timeCreated

        public AddressList.Builder timeCreated​(Date timeCreated)
        The date and time the address list was created, expressed in RFC 3339 timestamp format.
        Parameters:
        timeCreated - the value to set
        Returns:
        this builder