public static class ListingRevisionSummary.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
ListingRevisionSummary |
build() |
ListingRevisionSummary.Builder |
categories(List<String> categories)
Categories that the listing revision belongs to.
|
ListingRevisionSummary.Builder |
compartmentId(String compartmentId)
The unique identifier for the compartment.
|
ListingRevisionSummary.Builder |
copy(ListingRevisionSummary model) |
ListingRevisionSummary.Builder |
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.
|
ListingRevisionSummary.Builder |
displayName(String displayName)
The name of the listing revision.
|
ListingRevisionSummary.Builder |
freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type or scope.
|
ListingRevisionSummary.Builder |
icon(ListingRevisionIconAttachment icon) |
ListingRevisionSummary.Builder |
id(String id)
The OCID for the listing revision in Marketplace Publisher.
|
ListingRevisionSummary.Builder |
lifecycleState(ListingRevision.LifecycleState lifecycleState)
The current state of the Listing.
|
ListingRevisionSummary.Builder |
listingId(String listingId)
The OCID for the listing in Marketplace Publisher.
|
ListingRevisionSummary.Builder |
markets(List<String> markets)
The markets where you can deploy the listing.
|
ListingRevisionSummary.Builder |
packageType(PackageType packageType)
The listing’s package type.
|
ListingRevisionSummary.Builder |
pricingType(ListingRevision.PricingType pricingType)
Pricing type of the listing.
|
ListingRevisionSummary.Builder |
shortDescription(String shortDescription)
A short description of the listing revision.
|
ListingRevisionSummary.Builder |
status(ListingRevision.Status status)
The current status of the listing revision.
|
ListingRevisionSummary.Builder |
systemTags(Map<String,Map<String,Object>> systemTags)
System tags for this resource.
|
ListingRevisionSummary.Builder |
tagline(String tagline)
The tagline of the listing revision.
|
ListingRevisionSummary.Builder |
timeCreated(Date timeCreated)
The date and time the listing revision was created, in the format defined by
RFC3339.
|
ListingRevisionSummary.Builder |
timeUpdated(Date timeUpdated)
The date and time the listing revision was updated, in the format defined by
RFC3339.
|
public ListingRevisionSummary.Builder id(String id)
The OCID for the listing revision in Marketplace Publisher.
id
- the value to setpublic ListingRevisionSummary.Builder listingId(String listingId)
The OCID for the listing in Marketplace Publisher.
listingId
- the value to setpublic ListingRevisionSummary.Builder compartmentId(String compartmentId)
The unique identifier for the compartment.
compartmentId
- the value to setpublic ListingRevisionSummary.Builder displayName(String displayName)
The name of the listing revision.
displayName
- the value to setpublic ListingRevisionSummary.Builder status(ListingRevision.Status status)
The current status of the listing revision.
status
- the value to setpublic ListingRevisionSummary.Builder lifecycleState(ListingRevision.LifecycleState lifecycleState)
The current state of the Listing.
lifecycleState
- the value to setpublic ListingRevisionSummary.Builder packageType(PackageType packageType)
The listing’s package type.
packageType
- the value to setpublic ListingRevisionSummary.Builder pricingType(ListingRevision.PricingType pricingType)
Pricing type of the listing.
pricingType
- the value to setpublic ListingRevisionSummary.Builder shortDescription(String shortDescription)
A short description of the listing revision.
shortDescription
- the value to setpublic ListingRevisionSummary.Builder tagline(String tagline)
The tagline of the listing revision.
tagline
- the value to setpublic ListingRevisionSummary.Builder icon(ListingRevisionIconAttachment icon)
public ListingRevisionSummary.Builder markets(List<String> markets)
The markets where you can deploy the listing.
markets
- the value to setpublic ListingRevisionSummary.Builder categories(List<String> categories)
Categories that the listing revision belongs to.
categories
- the value to setpublic ListingRevisionSummary.Builder timeCreated(Date timeCreated)
The date and time the listing revision was created, in the format defined by RFC3339.
Example: 2022-09-15T21:10:29.600Z
timeCreated
- the value to setpublic ListingRevisionSummary.Builder timeUpdated(Date timeUpdated)
The date and time the listing revision was updated, in the format defined by RFC3339.
Example: 2022-09-15T21:10:29.600Z
timeUpdated
- the value to setpublic ListingRevisionSummary.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 ListingRevisionSummary.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 ListingRevisionSummary.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 ListingRevisionSummary build()
public ListingRevisionSummary.Builder copy(ListingRevisionSummary model)
Copyright © 2016–2025. All rights reserved.