Class OfferQuote.Builder
- java.lang.Object
-
- com.oracle.bmc.marketplaceprivateoffer.model.OfferQuote.Builder
-
- Enclosing class:
- OfferQuote
public static class OfferQuote.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description OfferQuotebuild()OfferQuote.BuilderbuyerAcceptanceDeadline(Date buyerAcceptanceDeadline)The time the offer for the buyer must be accepted by before the offer becomes invalid.OfferQuote.BuilderbuyerCompartmentIds(List<String> buyerCompartmentIds)A list of buyer tenancies.OfferQuote.BuilderbuyerOfferDuration(String buyerOfferDuration)Duration the offer for the buyer will be active after its start date.OfferQuote.Buildercopy(OfferQuote model)OfferQuote.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.OfferQuote.Builderdescription(String description)The description of the offer quote.OfferQuote.BuilderdisplayName(String displayName)Offer quote identifier, can be renamed.OfferQuote.BuilderfreeformTags(Map<String,String> freeformTags)Simple key-value pair that is applied without any predefined name, type or scope.OfferQuote.Builderid(String id)Unique identifier that is immutable on creation.OfferQuote.BuilderisvCompartmentId(String isvCompartmentId)OCID of the ISV tenancy.OfferQuote.BuilderisvInformation(IsvInformation isvInformation)OfferQuote.BuilderisvPublisherDisplayName(String isvPublisherDisplayName)Display name of the ISV publisher.OfferQuote.BuilderisvPublisherId(String isvPublisherId)Publisher identifier of the ISV.OfferQuote.BuilderlifecycleDetails(String lifecycleDetails)Provides detailed information about the current state of the offer quote.OfferQuote.BuilderlifecycleState(OfferQuote.LifecycleState lifecycleState)The current state of the offer quote.OfferQuote.BuilderofferQuoteStatus(OfferQuote.OfferQuoteStatus offerQuoteStatus)The human readable representation of where the offer quote is at in its contract lifecycle.OfferQuote.Builderpricing(Pricing pricing)OfferQuote.BuilderresellerCompartmentId(String resellerCompartmentId)OCID of the reseller tenancy.OfferQuote.BuilderresellerInformation(ResellerInformation resellerInformation)OfferQuote.BuilderresellerPublisherDisplayName(String resellerPublisherDisplayName)Display name of the reseller publisher.OfferQuote.BuilderresourceBundles(List<ResourceBundle> resourceBundles)A list of resource bundles associated with an offer quote.OfferQuote.BuildersystemTags(Map<String,Map<String,Object>> systemTags)System tags for this resource.OfferQuote.BuildertimeCreated(Date timeCreated)The time the offer quote was created.OfferQuote.BuildertimeUpdated(Date timeUpdated)The time the offer quote was updated.
-
-
-
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
-
lifecycleState
public OfferQuote.Builder lifecycleState(OfferQuote.LifecycleState lifecycleState)
The current state of the offer quote.- Parameters:
lifecycleState- 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
-
resellerInformation
public OfferQuote.Builder resellerInformation(ResellerInformation resellerInformation)
-
isvInformation
public OfferQuote.Builder isvInformation(IsvInformation isvInformation)
-
pricing
public OfferQuote.Builder pricing(Pricing pricing)
-
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
-
build
public OfferQuote build()
-
copy
public OfferQuote.Builder copy(OfferQuote model)
-
-