Class PublicationSummary.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • compartmentId

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

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

        public PublicationSummary.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 PublicationSummary.Builder shortDescription​(String shortDescription)
        A short description of the publication to use in the listing.
        Parameters:
        shortDescription - the value to set
        Returns:
        this builder
      • supportedOperatingSystems

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

        public PublicationSummary.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
      • timeCreated

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