Class User.Builder

  • Enclosing class:
    User

    public static class User.Builder
    extends Object
    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • key

        public User.Builder key​(String key)
        A unique identifier for the user.
        Parameters:
        key - the value to set
        Returns:
        this builder
      • firstName

        public User.Builder firstName​(String firstName)
        The user’s first name.
        Parameters:
        firstName - the value to set
        Returns:
        this builder
      • lastName

        public User.Builder lastName​(String lastName)
        The user’s last name.
        Parameters:
        lastName - the value to set
        Returns:
        this builder
      • country

        public User.Builder country​(String country)
        The country of the user.
        Parameters:
        country - the value to set
        Returns:
        this builder
      • csi

        public User.Builder csi​(String csi)
        The CSI associated with the user.
        Parameters:
        csi - the value to set
        Returns:
        this builder
      • phone

        public User.Builder phone​(String phone)
        The user’s contact phone number.
        Parameters:
        phone - the value to set
        Returns:
        this builder
      • timezone

        public User.Builder timezone​(String timezone)
        The timezone of the user.
        Parameters:
        timezone - the value to set
        Returns:
        this builder
      • organizationName

        public User.Builder organizationName​(String organizationName)
        The company that the user belongs to.
        Parameters:
        organizationName - the value to set
        Returns:
        this builder
      • compartmentId

        public User.Builder compartmentId​(String compartmentId)
        The OCID of the tenancy.
        Parameters:
        compartmentId - the value to set
        Returns:
        this builder
      • contactEmail

        public User.Builder contactEmail​(String contactEmail)
        The email of the contact person.
        Parameters:
        contactEmail - the value to set
        Returns:
        this builder
      • build

        public User build()