Class OfferQuote.Builder

  • Enclosing class:
    OfferQuote

    public static class OfferQuote.Builder
    extends Object
    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • id

        public OfferQuote.Builder id​(String id)
        Unique identifier that is immutable on creation.
        Parameters:
        id - the value to set
        Returns:
        this builder
      • displayName

        public OfferQuote.Builder displayName​(String displayName)
        Offer quote identifier, can be renamed.
        Parameters:
        displayName - the value to set
        Returns:
        this builder
      • resellerCompartmentId

        public OfferQuote.Builder resellerCompartmentId​(String resellerCompartmentId)
        OCID of the reseller tenancy.
        Parameters:
        resellerCompartmentId - the value to set
        Returns:
        this builder
      • isvCompartmentId

        public OfferQuote.Builder isvCompartmentId​(String isvCompartmentId)
        OCID of the ISV tenancy.
        Parameters:
        isvCompartmentId - the value to set
        Returns:
        this builder
      • isvPublisherId

        public OfferQuote.Builder isvPublisherId​(String isvPublisherId)
        Publisher identifier of the ISV.
        Parameters:
        isvPublisherId - the value to set
        Returns:
        this builder
      • resellerPublisherDisplayName

        public OfferQuote.Builder resellerPublisherDisplayName​(String resellerPublisherDisplayName)
        Display name of the reseller publisher.
        Parameters:
        resellerPublisherDisplayName - the value to set
        Returns:
        this builder
      • isvPublisherDisplayName

        public OfferQuote.Builder isvPublisherDisplayName​(String isvPublisherDisplayName)
        Display name of the ISV publisher.
        Parameters:
        isvPublisherDisplayName - the value to set
        Returns:
        this builder
      • buyerCompartmentIds

        public OfferQuote.Builder buyerCompartmentIds​(List<String> buyerCompartmentIds)
        A list of buyer tenancies.
        Parameters:
        buyerCompartmentIds - the value to set
        Returns:
        this builder
      • description

        public OfferQuote.Builder description​(String description)
        The description of the offer quote.
        Parameters:
        description - the value to set
        Returns:
        this builder
      • timeCreated

        public OfferQuote.Builder timeCreated​(Date timeCreated)
        The time the offer quote was created.

        An RFC3339 formatted datetime string.

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

        public OfferQuote.Builder timeUpdated​(Date timeUpdated)
        The time the offer quote was updated.

        An RFC3339 formatted datetime string.

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

        public OfferQuote.Builder lifecycleDetails​(String lifecycleDetails)
        Provides detailed information about the current state of the offer quote.

        For example, if the offer quote is in a failed state this message can include specific validation errors.

        Parameters:
        lifecycleDetails - the value to set
        Returns:
        this builder
      • offerQuoteStatus

        public OfferQuote.Builder offerQuoteStatus​(OfferQuote.OfferQuoteStatus offerQuoteStatus)
        The human readable representation of where the offer quote is at in its contract lifecycle.
        Parameters:
        offerQuoteStatus - the value to set
        Returns:
        this builder
      • resourceBundles

        public OfferQuote.Builder resourceBundles​(List<ResourceBundle> resourceBundles)
        A list of resource bundles associated with an offer quote.
        Parameters:
        resourceBundles - the value to set
        Returns:
        this builder
      • buyerAcceptanceDeadline

        public OfferQuote.Builder buyerAcceptanceDeadline​(Date buyerAcceptanceDeadline)
        The time the offer for the buyer must be accepted by before the offer becomes invalid.

        An RFC3339 formatted datetime string.

        Parameters:
        buyerAcceptanceDeadline - the value to set
        Returns:
        this builder
      • buyerOfferDuration

        public OfferQuote.Builder buyerOfferDuration​(String buyerOfferDuration)
        Duration the offer for the buyer will be active after its start date.

        An ISO8601 extended formatted string.

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

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