public static class OfferSummary.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
OfferSummary |
build() |
OfferSummary.Builder |
buyerCompartmentId(String buyerCompartmentId)
Ocid of the buyer tenancy.
|
OfferSummary.Builder |
buyerInformation(BuyerInformation buyerInformation) |
OfferSummary.Builder |
copy(OfferSummary model) |
OfferSummary.Builder |
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.
|
OfferSummary.Builder |
displayName(String displayName)
Offer Identifier, can be renamed
|
OfferSummary.Builder |
freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type or scope.
|
OfferSummary.Builder |
id(String id)
Unique identifier that is immutable on creation
|
OfferSummary.Builder |
lifecycleDetails(String lifecycleDetails)
A message describing the current state in more detail.
|
OfferSummary.Builder |
lifecycleState(Offer.LifecycleState lifecycleState)
The current state of the Offer.
|
OfferSummary.Builder |
offerStatus(Offer.OfferStatus offerStatus)
The human readable representation of where the offer is at in it’s contract lifecycle.
|
OfferSummary.Builder |
pricing(Pricing pricing) |
OfferSummary.Builder |
sellerCompartmentId(String sellerCompartmentId)
Ocid of the seller tenancy.
|
OfferSummary.Builder |
sellerInformation(SellerInformation sellerInformation) |
OfferSummary.Builder |
timeAcceptBy(Date timeAcceptBy)
The time the Offer must be accepted by the Buyer before the Offer becomes invalid.
|
OfferSummary.Builder |
timeAccepted(Date timeAccepted)
The time the Offer was accepted by the Buyer of the Offer.
|
OfferSummary.Builder |
timeCreated(Date timeCreated)
The time the the Offer was created.
|
OfferSummary.Builder |
timeOfferEnd(Date timeOfferEnd)
The time the accepted Offer will end.
|
OfferSummary.Builder |
timeStartDate(Date timeStartDate)
The time the Offer will become active after it has been accepted by the Buyer.
|
OfferSummary.Builder |
timeUpdated(Date timeUpdated)
The time the Offer was updated.
|
public OfferSummary.Builder id(String id)
Unique identifier that is immutable on creation
id
- the value to setpublic OfferSummary.Builder displayName(String displayName)
Offer Identifier, can be renamed
displayName
- the value to setpublic OfferSummary.Builder buyerCompartmentId(String buyerCompartmentId)
Ocid of the buyer tenancy.
buyerCompartmentId
- the value to setpublic OfferSummary.Builder sellerCompartmentId(String sellerCompartmentId)
Ocid of the seller tenancy.
sellerCompartmentId
- the value to setpublic OfferSummary.Builder timeCreated(Date timeCreated)
The time the the Offer was created. An RFC3339 formatted datetime string
timeCreated
- the value to setpublic OfferSummary.Builder timeUpdated(Date timeUpdated)
The time the Offer was updated. An RFC3339 formatted datetime string
timeUpdated
- the value to setpublic OfferSummary.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 OfferSummary.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 OfferSummary.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 OfferSummary.Builder timeOfferEnd(Date timeOfferEnd)
The time the accepted Offer will end. An RFC3339 formatted datetime string
timeOfferEnd
- the value to setpublic OfferSummary.Builder lifecycleState(Offer.LifecycleState lifecycleState)
The current state of the Offer.
lifecycleState
- the value to setpublic OfferSummary.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 OfferSummary.Builder offerStatus(Offer.OfferStatus offerStatus)
The human readable representation of where the offer is at in it’s contract lifecycle.
offerStatus
- the value to setpublic OfferSummary.Builder buyerInformation(BuyerInformation buyerInformation)
public OfferSummary.Builder sellerInformation(SellerInformation sellerInformation)
public OfferSummary.Builder pricing(Pricing pricing)
public OfferSummary.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 OfferSummary.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 OfferSummary build()
public OfferSummary.Builder copy(OfferSummary model)
Copyright © 2016–2024. All rights reserved.