Class Publication.Builder

  • Enclosing class:
    Publication

    public static class Publication.Builder
    extends Object
    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • compartmentId

        public Publication.Builder compartmentId​(String compartmentId)
        The OCID of the compartment where the publication exists.
        Parameters:
        compartmentId - the value to set
        Returns:
        this builder
      • id

        public Publication.Builder id​(String id)
        The unique identifier for the publication in Marketplace.
        Parameters:
        id - the value to set
        Returns:
        this builder
      • name

        public Publication.Builder name​(String name)
        The name of the publication, which is also used in the listing.
        Parameters:
        name - the value to set
        Returns:
        this builder
      • shortDescription

        public Publication.Builder shortDescription​(String shortDescription)
        A short description of the publication to use in the listing.
        Parameters:
        shortDescription - the value to set
        Returns:
        this builder
      • longDescription

        public Publication.Builder longDescription​(String longDescription)
        A long description of the publication to use in the listing.
        Parameters:
        longDescription - the value to set
        Returns:
        this builder
      • supportContacts

        public Publication.Builder supportContacts​(List<SupportContact> supportContacts)
        Contact information for getting support from the publisher for the listing.
        Parameters:
        supportContacts - the value to set
        Returns:
        this builder
      • packageType

        public Publication.Builder packageType​(PackageTypeEnum packageType)
        The listing’s package type.
        Parameters:
        packageType - the value to set
        Returns:
        this builder
      • listingType

        public Publication.Builder listingType​(ListingType listingType)
        The publisher category to which the publication belongs.

        The publisher category informs where the listing appears for use.

        Parameters:
        listingType - the value to set
        Returns:
        this builder
      • supportedOperatingSystems

        public Publication.Builder supportedOperatingSystems​(List<OperatingSystem> supportedOperatingSystems)
        The list of operating systems supprted by the listing.
        Parameters:
        supportedOperatingSystems - the value to set
        Returns:
        this builder
      • timeCreated

        public Publication.Builder timeCreated​(Date timeCreated)
        The date and time the publication was created, expressed in RFC 3339 timestamp format.

        Example: 2016-08-25T21:10:29.600Z

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

        public Publication.Builder definedTags​(Map<String,​Map<String,​Object>> definedTags)
        The defined tags associated with this resource, if any.

        Each key is predefined and scoped to namespaces. For more information, see Resource Tags. Example: {“Operations”: {“CostCenter”: “42”}}

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

        public Publication.Builder freeformTags​(Map<String,​String> freeformTags)
        The freeform tags associated with this resource, if any.

        Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {“Department”: “Finance”}

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

        public Publication.Builder systemTags​(Map<String,​Map<String,​Object>> systemTags)
        The system tags associated with this resource, if any.

        The system tags are set by Oracle Cloud Infrastructure services. Each key is predefined and scoped to namespaces. For more information, see Resource Tags. Example: {orcl-cloud: {free-tier-retain: true}}

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