Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
Offer |
build() |
Offer.Builder |
buyerCompartmentId(String buyerCompartmentId)
OCID of the buyer’s tenancy (root compartment).
|
Offer.Builder |
buyerInformation(BuyerInformation buyerInformation) |
Offer.Builder |
copy(Offer model) |
Offer.Builder |
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.
|
Offer.Builder |
description(String description)
The description of the offer
|
Offer.Builder |
displayName(String displayName)
Offer Identifier, can be renamed
|
Offer.Builder |
duration(String duration)
Duration the Offer will be active after its start date.
|
Offer.Builder |
freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type or scope.
|
Offer.Builder |
id(String id)
Unique identifier that is immutable on creation
|
Offer.Builder |
lifecycleDetails(String lifecycleDetails)
A message describing the current state in more detail.
|
Offer.Builder |
lifecycleState(Offer.LifecycleState lifecycleState)
The current state of the Offer.
|
Offer.Builder |
offerStatus(Offer.OfferStatus offerStatus)
A substate for lifeCycleStatus to give a more human readable version of the offer
|
Offer.Builder |
pricing(Pricing pricing) |
Offer.Builder |
publisherSummary(PublisherSummary publisherSummary) |
Offer.Builder |
resourceBundles(List<ResourceBundle> resourceBundles)
A list of Resource Bundles associated with an Offer.
|
Offer.Builder |
sellerCompartmentId(String sellerCompartmentId)
OCID of the seller’s tenancy (root compartment).
|
Offer.Builder |
sellerInformation(SellerInformation sellerInformation) |
Offer.Builder |
timeAcceptBy(Date timeAcceptBy)
The time the Offer must be accepted by the Buyer before the Offer becomes invalid.
|
Offer.Builder |
timeAccepted(Date timeAccepted)
The time the Offer was accepted by the Buyer of the Offer.
|
Offer.Builder |
timeCreated(Date timeCreated)
The time the the Offer was created.
|
Offer.Builder |
timeOfferEnd(Date timeOfferEnd)
The time the accepted Offer will end.
|
Offer.Builder |
timeStartDate(Date timeStartDate)
The time the Offer will become active after it has been accepted by the Buyer.
|
Offer.Builder |
timeUpdated(Date timeUpdated)
The time the Offer was updated.
|
public Offer.Builder id(String id)
Unique identifier that is immutable on creation
id
- the value to setpublic Offer.Builder displayName(String displayName)
Offer Identifier, can be renamed
displayName
- the value to setpublic Offer.Builder sellerCompartmentId(String sellerCompartmentId)
OCID of the seller’s tenancy (root compartment).
sellerCompartmentId
- the value to setpublic Offer.Builder buyerCompartmentId(String buyerCompartmentId)
OCID of the buyer’s tenancy (root compartment).
buyerCompartmentId
- the value to setpublic Offer.Builder description(String description)
The description of the offer
description
- the value to setpublic Offer.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 Offer.Builder duration(String duration)
Duration the Offer will be active after its start date. An ISO8601 extended formatted string.
duration
- the value to setpublic Offer.Builder timeCreated(Date timeCreated)
The time the the Offer was created. An RFC3339 formatted datetime string
timeCreated
- the value to setpublic Offer.Builder timeUpdated(Date timeUpdated)
The time the Offer was updated. An RFC3339 formatted datetime string
timeUpdated
- the value to setpublic Offer.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 Offer.Builder timeAccepted(Date timeAccepted)
The time the Offer was accepted by the Buyer of the Offer. An RFC3339 formatted datetime string
timeAccepted
- the value to setpublic Offer.Builder timeOfferEnd(Date timeOfferEnd)
The time the accepted Offer will end. An RFC3339 formatted datetime string
timeOfferEnd
- the value to setpublic Offer.Builder lifecycleState(Offer.LifecycleState lifecycleState)
The current state of the Offer.
lifecycleState
- the value to setpublic Offer.Builder lifecycleDetails(String lifecycleDetails)
A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
lifecycleDetails
- the value to setpublic Offer.Builder offerStatus(Offer.OfferStatus offerStatus)
A substate for lifeCycleStatus to give a more human readable version of the offer
offerStatus
- the value to setpublic Offer.Builder publisherSummary(PublisherSummary publisherSummary)
public Offer.Builder pricing(Pricing pricing)
public Offer.Builder buyerInformation(BuyerInformation buyerInformation)
public Offer.Builder sellerInformation(SellerInformation sellerInformation)
public Offer.Builder resourceBundles(List<ResourceBundle> resourceBundles)
A list of Resource Bundles associated with an Offer.
resourceBundles
- the value to setpublic Offer.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 Offer.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 Offer build()
public Offer.Builder copy(Offer model)
Copyright © 2016–2024. All rights reserved.