Class OccCustomerGroup.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • compartmentId

        public OccCustomerGroup.Builder compartmentId​(String compartmentId)
        The OCID of the tenancy containing the customer group.
        Parameters:
        compartmentId - the value to set
        Returns:
        this builder
      • displayName

        public OccCustomerGroup.Builder displayName​(String displayName)
        The display name of the customer group.
        Parameters:
        displayName - the value to set
        Returns:
        this builder
      • description

        public OccCustomerGroup.Builder description​(String description)
        The description about the customer group.
        Parameters:
        description - the value to set
        Returns:
        this builder
      • timeCreated

        public OccCustomerGroup.Builder timeCreated​(Date timeCreated)
        The time when the customer group was created.
        Parameters:
        timeCreated - the value to set
        Returns:
        this builder
      • timeUpdated

        public OccCustomerGroup.Builder timeUpdated​(Date timeUpdated)
        The time when the customer group was last updated.
        Parameters:
        timeUpdated - the value to set
        Returns:
        this builder
      • lifecycleDetails

        public OccCustomerGroup.Builder lifecycleDetails​(String lifecycleDetails)
        A message describing the current state in more detail.

        For example, can be used to provide actionable information for a resource in a Failed State.

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

        public OccCustomerGroup.Builder freeformTags​(Map<String,​String> freeformTags)
        Simple key-value pair that is applied without any predefined name, type or scope.

        Exists for cross-compatibility only. Example: {“bar-key”: “value”}

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

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

        Each key is predefined and scoped to a namespace. Example: {“foo-namespace”: {“bar-key”: “value”}}

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

        public OccCustomerGroup.Builder systemTags​(Map<String,​Map<String,​Object>> systemTags)
        System tags for this resource.

        Each key is predefined and scoped to a namespace. Example: {“orcl-cloud”: {“free-tier-retained”: “true”}}

        Parameters:
        systemTags - the value to set
        Returns:
        this builder
      • customersList

        public OccCustomerGroup.Builder customersList​(List<OccCustomer> customersList)
        A list containing all the customers that belong to this customer group
        Parameters:
        customersList - the value to set
        Returns:
        this builder