Class OccCustomer.Builder

  • Enclosing class:
    OccCustomer

    public static class OccCustomer.Builder
    extends Object
    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • occCustomerGroupId

        public OccCustomer.Builder occCustomerGroupId​(String occCustomerGroupId)
        The OCID of the customer group.
        Parameters:
        occCustomerGroupId - the value to set
        Returns:
        this builder
      • tenancyId

        public OccCustomer.Builder tenancyId​(String tenancyId)
        The OCID of the tenancy belonging to the customer.
        Parameters:
        tenancyId - the value to set
        Returns:
        this builder
      • displayName

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

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

        public OccCustomer.Builder status​(OccCustomer.Status status)
        To determine whether the customer is enabled/disabled.
        Parameters:
        status - the value to set
        Returns:
        this builder