Class ListingRevisionSummary.Builder
- java.lang.Object
-
- com.oracle.bmc.marketplacepublisher.model.ListingRevisionSummary.Builder
-
- Enclosing class:
- ListingRevisionSummary
public static class ListingRevisionSummary.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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.
-
-
-
Method Detail
-
id
public ListingRevisionSummary.Builder id(String id)
The OCID for the listing revision in Marketplace Publisher.- Parameters:
id
- the value to set- Returns:
- this builder
-
listingId
public ListingRevisionSummary.Builder listingId(String listingId)
The OCID for the listing in Marketplace Publisher.- Parameters:
listingId
- the value to set- Returns:
- this builder
-
compartmentId
public ListingRevisionSummary.Builder compartmentId(String compartmentId)
The unique identifier for the compartment.- Parameters:
compartmentId
- the value to set- Returns:
- this builder
-
displayName
public ListingRevisionSummary.Builder displayName(String displayName)
The name of the listing revision.- Parameters:
displayName
- the value to set- Returns:
- this builder
-
status
public ListingRevisionSummary.Builder status(ListingRevision.Status status)
The current status of the listing revision.- Parameters:
status
- the value to set- Returns:
- this builder
-
lifecycleState
public ListingRevisionSummary.Builder lifecycleState(ListingRevision.LifecycleState lifecycleState)
The current state of the Listing.- Parameters:
lifecycleState
- the value to set- Returns:
- this builder
-
packageType
public ListingRevisionSummary.Builder packageType(PackageType packageType)
The listing’s package type.- Parameters:
packageType
- the value to set- Returns:
- this builder
-
pricingType
public ListingRevisionSummary.Builder pricingType(ListingRevision.PricingType pricingType)
Pricing type of the listing.- Parameters:
pricingType
- the value to set- Returns:
- this builder
-
shortDescription
public ListingRevisionSummary.Builder shortDescription(String shortDescription)
A short description of the listing revision.- Parameters:
shortDescription
- the value to set- Returns:
- this builder
-
tagline
public ListingRevisionSummary.Builder tagline(String tagline)
The tagline of the listing revision.- Parameters:
tagline
- the value to set- Returns:
- this builder
-
icon
public ListingRevisionSummary.Builder icon(ListingRevisionIconAttachment icon)
-
markets
public ListingRevisionSummary.Builder markets(List<String> markets)
The markets where you can deploy the listing.- Parameters:
markets
- the value to set- Returns:
- this builder
-
categories
public ListingRevisionSummary.Builder categories(List<String> categories)
Categories that the listing revision belongs to.- Parameters:
categories
- the value to set- Returns:
- this builder
-
timeCreated
public 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
- Parameters:
timeCreated
- the value to set- Returns:
- this builder
-
timeUpdated
public 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
- Parameters:
timeUpdated
- the value to set- Returns:
- this builder
-
freeformTags
public 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”}
- Parameters:
freeformTags
- the value to set- Returns:
- this builder
-
definedTags
public 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”}}
- Parameters:
definedTags
- the value to set- Returns:
- this builder
-
systemTags
public 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”}}
- Parameters:
systemTags
- the value to set- Returns:
- this builder
-
build
public ListingRevisionSummary build()
-
copy
public ListingRevisionSummary.Builder copy(ListingRevisionSummary model)
-
-