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