Class Publisher.Builder

  • Enclosing class:
    Publisher

    public static class Publisher.Builder
    extends Object
    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • notificationEmail

        public Publisher.Builder notificationEmail​(String notificationEmail)
        The private email address of the publisher product team.
        Parameters:
        notificationEmail - the value to set
        Returns:
        this builder
      • id

        public Publisher.Builder id​(String id)
        Unique OCID identifier for the publisher.
        Parameters:
        id - the value to set
        Returns:
        this builder
      • compartmentId

        public Publisher.Builder compartmentId​(String compartmentId)
        The root compartment of the Publisher.
        Parameters:
        compartmentId - the value to set
        Returns:
        this builder
      • registryNamespace

        public Publisher.Builder registryNamespace​(String registryNamespace)
        The namespace for the publisher registry to persist artifacts.
        Parameters:
        registryNamespace - the value to set
        Returns:
        this builder
      • legacyId

        public Publisher.Builder legacyId​(String legacyId)
        Unique legacy service identifier for the publisher.
        Parameters:
        legacyId - the value to set
        Returns:
        this builder
      • displayName

        public Publisher.Builder displayName​(String displayName)
        The name of the publisher.
        Parameters:
        displayName - the value to set
        Returns:
        this builder
      • description

        public Publisher.Builder description​(String description)
        A description of the publisher.
        Parameters:
        description - the value to set
        Returns:
        this builder
      • yearFounded

        public Publisher.Builder yearFounded​(Long yearFounded)
        The year the publisher’s company or organization was founded.
        Parameters:
        yearFounded - the value to set
        Returns:
        this builder
      • websiteUrl

        public Publisher.Builder websiteUrl​(String websiteUrl)
        The publisher’s website.
        Parameters:
        websiteUrl - the value to set
        Returns:
        this builder
      • contactEmail

        public Publisher.Builder contactEmail​(String contactEmail)
        The public email address of the publisher for customers.
        Parameters:
        contactEmail - the value to set
        Returns:
        this builder
      • contactPhone

        public Publisher.Builder contactPhone​(String contactPhone)
        The phone number of the publisher in E.164 format.
        Parameters:
        contactPhone - the value to set
        Returns:
        this builder
      • hqAddress

        public Publisher.Builder hqAddress​(String hqAddress)
        The address of the publisher’s headquarters.
        Parameters:
        hqAddress - the value to set
        Returns:
        this builder
      • facebookUrl

        public Publisher.Builder facebookUrl​(String facebookUrl)
        Publisher’s Facebook URL
        Parameters:
        facebookUrl - the value to set
        Returns:
        this builder
      • twitterUrl

        public Publisher.Builder twitterUrl​(String twitterUrl)
        Publisher’s Twitter URL
        Parameters:
        twitterUrl - the value to set
        Returns:
        this builder
      • linkedinUrl

        public Publisher.Builder linkedinUrl​(String linkedinUrl)
        Publisher’s LinkedIn URL
        Parameters:
        linkedinUrl - the value to set
        Returns:
        this builder
      • timeCreated

        public Publisher.Builder timeCreated​(Date timeCreated)
        The time the publisher was created.

        An RFC3339 formatted datetime string.

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

        public Publisher.Builder timeUpdated​(Date timeUpdated)
        The time the publisher was updated.

        An RFC3339 formatted datetime string.

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

        public Publisher.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 Publisher.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 Publisher.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