public static class ListingRevision.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
ListingRevision.Builder |
allowedTenancies(List<String> allowedTenancies)
Allowed tenancies provided when a listing revision is published as private.
|
ListingRevision.Builder |
areInternalTenancyLaunchAllowed(Boolean areInternalTenancyLaunchAllowed)
Identifies whether publisher allows internal tenancy launches for the listing revision.
|
ListingRevision |
build() |
ListingRevision.Builder |
categories(List<String> categories)
The categories for the listing revsion.
|
ListingRevision.Builder |
compartmentId(String compartmentId)
The unique identifier for the compartment.
|
ListingRevision.Builder |
contentLanguage(LanguageItem contentLanguage) |
ListingRevision.Builder |
copy(ListingRevision model) |
ListingRevision.Builder |
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.
|
ListingRevision.Builder |
displayName(String displayName)
The name for the listing revision.
|
ListingRevision.Builder |
extendedMetadata(Map<String,String> extendedMetadata)
Additional metadata key/value pairs for the listing revision summary.
|
ListingRevision.Builder |
freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type or scope.
|
ListingRevision.Builder |
headline(String headline)
Single line introduction for the listing revision.
|
ListingRevision.Builder |
icon(ListingRevisionIconAttachment icon) |
ListingRevision.Builder |
id(String id)
Unique OCID identifier for the listing revision in Marketplace Publisher.
|
ListingRevision.Builder |
keywords(String keywords)
Keywords associated with the listing revision.
|
ListingRevision.Builder |
lifecycleState(ListingRevision.LifecycleState lifecycleState)
The current state of the listing revision.
|
ListingRevision.Builder |
listingId(String listingId)
The unique identifier for the listing this revision belongs to.
|
ListingRevision.Builder |
longDescription(String longDescription)
A long description for the listing revision.
|
ListingRevision.Builder |
markets(List<String> markets)
The markets supported by the listing revision.
|
ListingRevision.Builder |
packageType(PackageType packageType)
The listing’s package type.
|
ListingRevision.Builder |
pricingType(ListingRevision.PricingType pricingType)
The pricing model for the listing revision.
|
ListingRevision.Builder |
revisionNumber(String revisionNumber)
The revision number for the listing revision.
|
ListingRevision.Builder |
shortDescription(String shortDescription)
A short description for the listing revision.
|
ListingRevision.Builder |
status(ListingRevision.Status status)
The current status for the Listing revision.
|
ListingRevision.Builder |
statusNotes(String statusNotes)
Status notes for the listing revision.
|
ListingRevision.Builder |
supportContacts(List<SupportContact> supportContacts)
Contact information to use to get support from the publisher for the listing revision.
|
ListingRevision.Builder |
supportedlanguages(List<LanguageItem> supportedlanguages)
Languages supported by the publisher for the listing revision.
|
ListingRevision.Builder |
supportLinks(List<NamedLink> supportLinks)
Links to support resources for the listing revision.
|
ListingRevision.Builder |
systemRequirements(String systemRequirements)
System requirements for the listing revision.
|
ListingRevision.Builder |
systemTags(Map<String,Map<String,Object>> systemTags)
System tags for this resource.
|
ListingRevision.Builder |
tagline(String tagline)
The tagline of the listing revision.
|
ListingRevision.Builder |
timeCreated(Date timeCreated)
The time the listing revision was created.
|
ListingRevision.Builder |
timeUpdated(Date timeUpdated)
The time the listing revision was updated.
|
ListingRevision.Builder |
usageInformation(String usageInformation)
Usage information for the listing revision.
|
ListingRevision.Builder |
versionDetails(VersionDetails versionDetails) |
public ListingRevision.Builder id(String id)
Unique OCID identifier for the listing revision in Marketplace Publisher.
id
- the value to setpublic ListingRevision.Builder listingId(String listingId)
The unique identifier for the listing this revision belongs to.
listingId
- the value to setpublic ListingRevision.Builder compartmentId(String compartmentId)
The unique identifier for the compartment.
compartmentId
- the value to setpublic ListingRevision.Builder displayName(String displayName)
The name for the listing revision.
displayName
- the value to setpublic ListingRevision.Builder revisionNumber(String revisionNumber)
The revision number for the listing revision. This is an internal attribute
revisionNumber
- the value to setpublic ListingRevision.Builder versionDetails(VersionDetails versionDetails)
public ListingRevision.Builder headline(String headline)
Single line introduction for the listing revision.
headline
- the value to setpublic ListingRevision.Builder tagline(String tagline)
The tagline of the listing revision.
tagline
- the value to setpublic ListingRevision.Builder keywords(String keywords)
Keywords associated with the listing revision.
keywords
- the value to setpublic ListingRevision.Builder shortDescription(String shortDescription)
A short description for the listing revision.
shortDescription
- the value to setpublic ListingRevision.Builder usageInformation(String usageInformation)
Usage information for the listing revision.
usageInformation
- the value to setpublic ListingRevision.Builder longDescription(String longDescription)
A long description for the listing revision.
longDescription
- the value to setpublic ListingRevision.Builder systemRequirements(String systemRequirements)
System requirements for the listing revision.
systemRequirements
- the value to setpublic ListingRevision.Builder timeCreated(Date timeCreated)
The time the listing revision was created. An RFC3339 formatted datetime string.
timeCreated
- the value to setpublic ListingRevision.Builder timeUpdated(Date timeUpdated)
The time the listing revision was updated. An RFC3339 formatted datetime string.
timeUpdated
- the value to setpublic ListingRevision.Builder categories(List<String> categories)
The categories for the listing revsion.
categories
- the value to setpublic ListingRevision.Builder markets(List<String> markets)
The markets supported by the listing revision.
markets
- the value to setpublic ListingRevision.Builder contentLanguage(LanguageItem contentLanguage)
public ListingRevision.Builder supportedlanguages(List<LanguageItem> supportedlanguages)
Languages supported by the publisher for the listing revision.
supportedlanguages
- the value to setpublic ListingRevision.Builder supportContacts(List<SupportContact> supportContacts)
Contact information to use to get support from the publisher for the listing revision.
supportContacts
- the value to setpublic ListingRevision.Builder supportLinks(List<NamedLink> supportLinks)
Links to support resources for the listing revision.
supportLinks
- the value to setpublic ListingRevision.Builder icon(ListingRevisionIconAttachment icon)
public ListingRevision.Builder status(ListingRevision.Status status)
The current status for the Listing revision.
status
- the value to setpublic ListingRevision.Builder statusNotes(String statusNotes)
Status notes for the listing revision.
statusNotes
- the value to setpublic ListingRevision.Builder lifecycleState(ListingRevision.LifecycleState lifecycleState)
The current state of the listing revision.
lifecycleState
- the value to setpublic ListingRevision.Builder packageType(PackageType packageType)
The listing’s package type. Populated from the listing.
packageType
- the value to setpublic ListingRevision.Builder pricingType(ListingRevision.PricingType pricingType)
The pricing model for the listing revision.
pricingType
- the value to setpublic ListingRevision.Builder allowedTenancies(List<String> allowedTenancies)
Allowed tenancies provided when a listing revision is published as private.
allowedTenancies
- the value to setpublic ListingRevision.Builder areInternalTenancyLaunchAllowed(Boolean areInternalTenancyLaunchAllowed)
Identifies whether publisher allows internal tenancy launches for the listing revision.
areInternalTenancyLaunchAllowed
- the value to setpublic ListingRevision.Builder extendedMetadata(Map<String,String> extendedMetadata)
Additional metadata key/value pairs for the listing revision summary.
extendedMetadata
- the value to setpublic ListingRevision.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 ListingRevision.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 ListingRevision.Builder systemTags(Map<String,Map<String,Object>> systemTags)
System tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"orcl-cloud": {"free-tier-retained": "true"}}
systemTags
- the value to setpublic ListingRevision build()
public ListingRevision.Builder copy(ListingRevision model)
Copyright © 2016–2025. All rights reserved.