public static class CreateOfferDetails.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CreateOfferDetails |
build() |
CreateOfferDetails.Builder |
buyerCompartmentId(String buyerCompartmentId)
Compartment Identifier of the buyer
|
CreateOfferDetails.Builder |
buyerInformation(BuyerInformation buyerInformation) |
CreateOfferDetails.Builder |
copy(CreateOfferDetails model) |
CreateOfferDetails.Builder |
customFields(List<CustomField> customFields)
A list of key value pairs specified by the seller
|
CreateOfferDetails.Builder |
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.
|
CreateOfferDetails.Builder |
description(String description)
Description of the Offer
|
CreateOfferDetails.Builder |
displayName(String displayName)
Offers Identifier
|
CreateOfferDetails.Builder |
duration(String duration)
Duration the Offer will be active after its start date.
|
CreateOfferDetails.Builder |
freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type or scope.
|
CreateOfferDetails.Builder |
internalNotes(String internalNotes)
Internal notes of the Offer
|
CreateOfferDetails.Builder |
pricing(Pricing pricing) |
CreateOfferDetails.Builder |
resourceBundles(List<ResourceBundle> resourceBundles)
A list of Resource Bundles associated with an Offer.
|
CreateOfferDetails.Builder |
sellerCompartmentId(String sellerCompartmentId)
Compartment Identifier of the seller
|
CreateOfferDetails.Builder |
sellerInformation(SellerInformation sellerInformation) |
CreateOfferDetails.Builder |
timeAcceptBy(Date timeAcceptBy)
The time the Offer must be accepted by the Buyer before the Offer becomes invalid.
|
CreateOfferDetails.Builder |
timeStartDate(Date timeStartDate)
The time the Offer will become active after it has been accepted by the Buyer.
|
public CreateOfferDetails.Builder displayName(String displayName)
Offers Identifier
displayName
- the value to setpublic CreateOfferDetails.Builder sellerCompartmentId(String sellerCompartmentId)
Compartment Identifier of the seller
sellerCompartmentId
- the value to setpublic CreateOfferDetails.Builder buyerCompartmentId(String buyerCompartmentId)
Compartment Identifier of the buyer
buyerCompartmentId
- the value to setpublic CreateOfferDetails.Builder description(String description)
Description of the Offer
description
- the value to setpublic CreateOfferDetails.Builder internalNotes(String internalNotes)
Internal notes of the Offer
internalNotes
- the value to setpublic CreateOfferDetails.Builder timeStartDate(Date timeStartDate)
The time the Offer will become active after it has been accepted by the Buyer. An RFC3339 formatted datetime string
timeStartDate
- the value to setpublic CreateOfferDetails.Builder duration(String duration)
Duration the Offer will be active after its start date. An ISO8601 extended formatted string.
duration
- the value to setpublic CreateOfferDetails.Builder timeAcceptBy(Date timeAcceptBy)
The time the Offer must be accepted by the Buyer before the Offer becomes invalid. An RFC3339 formatted datetime string
timeAcceptBy
- the value to setpublic CreateOfferDetails.Builder pricing(Pricing pricing)
public CreateOfferDetails.Builder buyerInformation(BuyerInformation buyerInformation)
public CreateOfferDetails.Builder sellerInformation(SellerInformation sellerInformation)
public CreateOfferDetails.Builder resourceBundles(List<ResourceBundle> resourceBundles)
A list of Resource Bundles associated with an Offer.
resourceBundles
- the value to setpublic CreateOfferDetails.Builder customFields(List<CustomField> customFields)
A list of key value pairs specified by the seller
customFields
- the value to setpublic CreateOfferDetails.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"}
freeformTags
- the value to setpublic CreateOfferDetails.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"}}
definedTags
- the value to setpublic CreateOfferDetails build()
public CreateOfferDetails.Builder copy(CreateOfferDetails model)
Copyright © 2016–2024. All rights reserved.