Class Organization.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • id

        public Organization.Builder id​(String id)
        OCID of the organization.
        Parameters:
        id - the value to set
        Returns:
        this builder
      • displayName

        public Organization.Builder displayName​(String displayName)
        A display name for the organization.

        Avoid entering confidential information.

        Parameters:
        displayName - the value to set
        Returns:
        this builder
      • compartmentId

        public Organization.Builder compartmentId​(String compartmentId)
        OCID of the compartment containing the organization.

        Always a tenancy OCID.

        Parameters:
        compartmentId - the value to set
        Returns:
        this builder
      • parentName

        public Organization.Builder parentName​(String parentName)
        The name of the tenancy that is the organization parent.
        Parameters:
        parentName - the value to set
        Returns:
        this builder
      • defaultUcmSubscriptionId

        public Organization.Builder defaultUcmSubscriptionId​(String defaultUcmSubscriptionId)
        OCID of the default Universal Credits Model subscription.

        Any tenancy joining the organization will automatically get assigned this subscription, if a subscription is not explictly assigned.

        Parameters:
        defaultUcmSubscriptionId - the value to set
        Returns:
        this builder
      • timeCreated

        public Organization.Builder timeCreated​(Date timeCreated)
        Date and time when the organization was created.
        Parameters:
        timeCreated - the value to set
        Returns:
        this builder
      • timeUpdated

        public Organization.Builder timeUpdated​(Date timeUpdated)
        Date and time when the organization was last updated.
        Parameters:
        timeUpdated - the value to set
        Returns:
        this builder