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