Class CreatePublicationDetails.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • listingType

        public CreatePublicationDetails.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
      • name

        public CreatePublicationDetails.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 CreatePublicationDetails.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 CreatePublicationDetails.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 CreatePublicationDetails.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
      • compartmentId

        public CreatePublicationDetails.Builder compartmentId​(String compartmentId)
        The OCID of the compartment where you want to create the publication.
        Parameters:
        compartmentId - the value to set
        Returns:
        this builder
      • isAgreementAcknowledged

        public CreatePublicationDetails.Builder isAgreementAcknowledged​(Boolean isAgreementAcknowledged)
        Whether the publisher acknowledged that they have the right and authority to share the contents of the publication and that they accepted the Oracle terms of use agreements required to create a publication.
        Parameters:
        isAgreementAcknowledged - the value to set
        Returns:
        this builder
      • definedTags

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