Class ListingRevision.Builder
- java.lang.Object
-
- com.oracle.bmc.marketplacepublisher.model.ListingRevision.Builder
-
- Enclosing class:
- ListingRevision
public static class ListingRevision.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ListingRevision.BuilderallowedTenancies(List<String> allowedTenancies)Allowed tenancies provided when a listing revision is published as private.ListingRevision.BuilderareInternalTenancyLaunchAllowed(Boolean areInternalTenancyLaunchAllowed)Identifies whether publisher allows internal tenancy launches for the listing revision.ListingRevisionbuild()ListingRevision.Buildercategories(List<String> categories)The categories for the listing revsion.ListingRevision.BuildercompartmentId(String compartmentId)The unique identifier for the compartment.ListingRevision.BuildercontentLanguage(LanguageItem contentLanguage)ListingRevision.Buildercopy(ListingRevision model)ListingRevision.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.ListingRevision.BuilderdisplayName(String displayName)The name for the listing revision.ListingRevision.BuilderextendedMetadata(Map<String,String> extendedMetadata)Additional metadata key/value pairs for the listing revision summary.ListingRevision.BuilderfreeformTags(Map<String,String> freeformTags)Simple key-value pair that is applied without any predefined name, type or scope.ListingRevision.Builderheadline(String headline)Single line introduction for the listing revision.ListingRevision.Buildericon(ListingRevisionIconAttachment icon)ListingRevision.Builderid(String id)Unique OCID identifier for the listing revision in Marketplace Publisher.ListingRevision.Builderkeywords(String keywords)Keywords associated with the listing revision.ListingRevision.BuilderlifecycleState(ListingRevision.LifecycleState lifecycleState)The current state of the listing revision.ListingRevision.BuilderlistingId(String listingId)The unique identifier for the listing this revision belongs to.ListingRevision.BuilderlongDescription(String longDescription)A long description for the listing revision.ListingRevision.Buildermarkets(List<String> markets)The markets supported by the listing revision.ListingRevision.BuilderpackageType(PackageType packageType)The listing’s package type.ListingRevision.BuilderpricingType(ListingRevision.PricingType pricingType)The pricing model for the listing revision.ListingRevision.BuilderrevisionNumber(String revisionNumber)The revision number for the listing revision.ListingRevision.BuildershortDescription(String shortDescription)A short description for the listing revision.ListingRevision.Builderstatus(ListingRevision.Status status)The current status for the Listing revision.ListingRevision.BuilderstatusNotes(String statusNotes)Status notes for the listing revision.ListingRevision.BuildersupportContacts(List<SupportContact> supportContacts)Contact information to use to get support from the publisher for the listing revision.ListingRevision.Buildersupportedlanguages(List<LanguageItem> supportedlanguages)Languages supported by the publisher for the listing revision.ListingRevision.BuildersupportLinks(List<NamedLink> supportLinks)Links to support resources for the listing revision.ListingRevision.BuildersystemRequirements(String systemRequirements)System requirements for the listing revision.ListingRevision.BuildersystemTags(Map<String,Map<String,Object>> systemTags)System tags for this resource.ListingRevision.Buildertagline(String tagline)The tagline of the listing revision.ListingRevision.BuildertimeCreated(Date timeCreated)The time the listing revision was created.ListingRevision.BuildertimeUpdated(Date timeUpdated)The time the listing revision was updated.ListingRevision.BuilderusageInformation(String usageInformation)Usage information for the listing revision.ListingRevision.BuilderversionDetails(VersionDetails versionDetails)
-
-
-
Method Detail
-
id
public ListingRevision.Builder id(String id)
Unique OCID identifier for the listing revision in Marketplace Publisher.- Parameters:
id- the value to set- Returns:
- this builder
-
listingId
public ListingRevision.Builder listingId(String listingId)
The unique identifier for the listing this revision belongs to.- Parameters:
listingId- the value to set- Returns:
- this builder
-
compartmentId
public ListingRevision.Builder compartmentId(String compartmentId)
The unique identifier for the compartment.- Parameters:
compartmentId- the value to set- Returns:
- this builder
-
displayName
public ListingRevision.Builder displayName(String displayName)
The name for the listing revision.- Parameters:
displayName- the value to set- Returns:
- this builder
-
revisionNumber
public ListingRevision.Builder revisionNumber(String revisionNumber)
The revision number for the listing revision.This is an internal attribute
- Parameters:
revisionNumber- the value to set- Returns:
- this builder
-
versionDetails
public ListingRevision.Builder versionDetails(VersionDetails versionDetails)
-
headline
public ListingRevision.Builder headline(String headline)
Single line introduction for the listing revision.- Parameters:
headline- the value to set- Returns:
- this builder
-
tagline
public ListingRevision.Builder tagline(String tagline)
The tagline of the listing revision.- Parameters:
tagline- the value to set- Returns:
- this builder
-
keywords
public ListingRevision.Builder keywords(String keywords)
Keywords associated with the listing revision.- Parameters:
keywords- the value to set- Returns:
- this builder
-
shortDescription
public ListingRevision.Builder shortDescription(String shortDescription)
A short description for the listing revision.- Parameters:
shortDescription- the value to set- Returns:
- this builder
-
usageInformation
public ListingRevision.Builder usageInformation(String usageInformation)
Usage information for the listing revision.- Parameters:
usageInformation- the value to set- Returns:
- this builder
-
longDescription
public ListingRevision.Builder longDescription(String longDescription)
A long description for the listing revision.- Parameters:
longDescription- the value to set- Returns:
- this builder
-
systemRequirements
public ListingRevision.Builder systemRequirements(String systemRequirements)
System requirements for the listing revision.- Parameters:
systemRequirements- the value to set- Returns:
- this builder
-
timeCreated
public ListingRevision.Builder timeCreated(Date timeCreated)
The time the listing revision was created.An RFC3339 formatted datetime string.
- Parameters:
timeCreated- the value to set- Returns:
- this builder
-
timeUpdated
public ListingRevision.Builder timeUpdated(Date timeUpdated)
The time the listing revision was updated.An RFC3339 formatted datetime string.
- Parameters:
timeUpdated- the value to set- Returns:
- this builder
-
categories
public ListingRevision.Builder categories(List<String> categories)
The categories for the listing revsion.- Parameters:
categories- the value to set- Returns:
- this builder
-
markets
public ListingRevision.Builder markets(List<String> markets)
The markets supported by the listing revision.- Parameters:
markets- the value to set- Returns:
- this builder
-
contentLanguage
public ListingRevision.Builder contentLanguage(LanguageItem contentLanguage)
-
supportedlanguages
public ListingRevision.Builder supportedlanguages(List<LanguageItem> supportedlanguages)
Languages supported by the publisher for the listing revision.- Parameters:
supportedlanguages- the value to set- Returns:
- this builder
-
supportContacts
public ListingRevision.Builder supportContacts(List<SupportContact> supportContacts)
Contact information to use to get support from the publisher for the listing revision.- Parameters:
supportContacts- the value to set- Returns:
- this builder
-
supportLinks
public ListingRevision.Builder supportLinks(List<NamedLink> supportLinks)
Links to support resources for the listing revision.- Parameters:
supportLinks- the value to set- Returns:
- this builder
-
icon
public ListingRevision.Builder icon(ListingRevisionIconAttachment icon)
-
status
public ListingRevision.Builder status(ListingRevision.Status status)
The current status for the Listing revision.- Parameters:
status- the value to set- Returns:
- this builder
-
statusNotes
public ListingRevision.Builder statusNotes(String statusNotes)
Status notes for the listing revision.- Parameters:
statusNotes- the value to set- Returns:
- this builder
-
lifecycleState
public ListingRevision.Builder lifecycleState(ListingRevision.LifecycleState lifecycleState)
The current state of the listing revision.- Parameters:
lifecycleState- the value to set- Returns:
- this builder
-
packageType
public ListingRevision.Builder packageType(PackageType packageType)
The listing’s package type.Populated from the listing.
- Parameters:
packageType- the value to set- Returns:
- this builder
-
pricingType
public ListingRevision.Builder pricingType(ListingRevision.PricingType pricingType)
The pricing model for the listing revision.- Parameters:
pricingType- the value to set- Returns:
- this builder
-
allowedTenancies
public ListingRevision.Builder allowedTenancies(List<String> allowedTenancies)
Allowed tenancies provided when a listing revision is published as private.- Parameters:
allowedTenancies- the value to set- Returns:
- this builder
-
areInternalTenancyLaunchAllowed
public ListingRevision.Builder areInternalTenancyLaunchAllowed(Boolean areInternalTenancyLaunchAllowed)
Identifies whether publisher allows internal tenancy launches for the listing revision.- Parameters:
areInternalTenancyLaunchAllowed- the value to set- Returns:
- this builder
-
extendedMetadata
public ListingRevision.Builder extendedMetadata(Map<String,String> extendedMetadata)
Additional metadata key/value pairs for the listing revision summary.- Parameters:
extendedMetadata- the value to set- Returns:
- this builder
-
freeformTags
public 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”}
- Parameters:
freeformTags- the value to set- Returns:
- this builder
-
definedTags
public 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”}}
- Parameters:
definedTags- the value to set- Returns:
- this builder
-
systemTags
public 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”}}
- Parameters:
systemTags- the value to set- Returns:
- this builder
-
build
public ListingRevision build()
-
copy
public ListingRevision.Builder copy(ListingRevision model)
-
-