Class CreateOfferQuoteDetails.Builder
- java.lang.Object
-
- com.oracle.bmc.marketplaceprivateoffer.model.CreateOfferQuoteDetails.Builder
-
- Enclosing class:
- CreateOfferQuoteDetails
public static class CreateOfferQuoteDetails.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CreateOfferQuoteDetailsbuild()CreateOfferQuoteDetails.BuilderbuyerAcceptanceDeadline(Date buyerAcceptanceDeadline)The time the offer for the buyer must be accepted by before the offer becomes invalid.CreateOfferQuoteDetails.BuilderbuyerCompartmentIds(List<String> buyerCompartmentIds)A list of buyer tenancies.CreateOfferQuoteDetails.BuilderbuyerOfferDuration(String buyerOfferDuration)Duration the offer for the buyer will be active after its start date.CreateOfferQuoteDetails.Buildercopy(CreateOfferQuoteDetails model)CreateOfferQuoteDetails.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.CreateOfferQuoteDetails.Builderdescription(String description)Description of the offer quote.CreateOfferQuoteDetails.BuilderdisplayName(String displayName)Offer quotes identifier.CreateOfferQuoteDetails.BuilderfreeformTags(Map<String,String> freeformTags)Simple key-value pair that is applied without any predefined name, type or scope.CreateOfferQuoteDetails.BuilderisvCompartmentId(String isvCompartmentId)Compartment identifier of the ISV.CreateOfferQuoteDetails.BuilderisvInformation(IsvInformation isvInformation)CreateOfferQuoteDetails.BuilderisvPublisherId(String isvPublisherId)Publisher identifier of the ISV.CreateOfferQuoteDetails.BuilderresellerCompartmentId(String resellerCompartmentId)Compartment identifier of the reseller.CreateOfferQuoteDetails.BuilderresellerInformation(ResellerInformation resellerInformation)CreateOfferQuoteDetails.BuilderresourceBundles(List<ResourceBundle> resourceBundles)A list of resource bundles associated with an offer quote.
-
-
-
Method Detail
-
displayName
public CreateOfferQuoteDetails.Builder displayName(String displayName)
Offer quotes identifier.- Parameters:
displayName- the value to set- Returns:
- this builder
-
resellerCompartmentId
public CreateOfferQuoteDetails.Builder resellerCompartmentId(String resellerCompartmentId)
Compartment identifier of the reseller.- Parameters:
resellerCompartmentId- the value to set- Returns:
- this builder
-
isvCompartmentId
public CreateOfferQuoteDetails.Builder isvCompartmentId(String isvCompartmentId)
Compartment identifier of the ISV.- Parameters:
isvCompartmentId- the value to set- Returns:
- this builder
-
isvPublisherId
public CreateOfferQuoteDetails.Builder isvPublisherId(String isvPublisherId)
Publisher identifier of the ISV.- Parameters:
isvPublisherId- the value to set- Returns:
- this builder
-
description
public CreateOfferQuoteDetails.Builder description(String description)
Description of the offer quote.- Parameters:
description- the value to set- Returns:
- this builder
-
resourceBundles
public CreateOfferQuoteDetails.Builder resourceBundles(List<ResourceBundle> resourceBundles)
A list of resource bundles associated with an offer quote.- Parameters:
resourceBundles- the value to set- Returns:
- this builder
-
buyerCompartmentIds
public CreateOfferQuoteDetails.Builder buyerCompartmentIds(List<String> buyerCompartmentIds)
A list of buyer tenancies.- Parameters:
buyerCompartmentIds- the value to set- Returns:
- this builder
-
resellerInformation
public CreateOfferQuoteDetails.Builder resellerInformation(ResellerInformation resellerInformation)
-
isvInformation
public CreateOfferQuoteDetails.Builder isvInformation(IsvInformation isvInformation)
-
buyerAcceptanceDeadline
public CreateOfferQuoteDetails.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 CreateOfferQuoteDetails.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 CreateOfferQuoteDetails.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 CreateOfferQuoteDetails.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
-
build
public CreateOfferQuoteDetails build()
-
copy
public CreateOfferQuoteDetails.Builder copy(CreateOfferQuoteDetails model)
-
-