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 ListingRevisionSummarybuild()ListingRevisionSummary.BuildercompartmentId(String compartmentId)The unique identifier for the compartment.ListingRevisionSummary.Buildercopy(ListingRevisionSummary model)ListingRevisionSummary.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.ListingRevisionSummary.BuilderdisplayName(String displayName)The name of the listing revision.ListingRevisionSummary.BuilderfreeformTags(Map<String,String> freeformTags)Simple key-value pair that is applied without any predefined name, type or scope.ListingRevisionSummary.Buildericon(ListingRevisionIconAttachment icon)ListingRevisionSummary.Builderid(String id)The OCID for the listing revision in Marketplace Publisher.ListingRevisionSummary.BuilderlifecycleState(ListingRevision.LifecycleState lifecycleState)The current state of the Listing.ListingRevisionSummary.BuilderlistingId(String listingId)The OCID for the listing in Marketplace Publisher.ListingRevisionSummary.BuilderlistingType(ListingType listingType)The listing’s type.ListingRevisionSummary.BuilderpackageType(PackageType packageType)The listing’s package type.ListingRevisionSummary.BuildershortDescription(String shortDescription)A short description of the listing revision.ListingRevisionSummary.Builderstatus(ListingRevision.Status status)The current status of the listing revision.ListingRevisionSummary.BuildersystemTags(Map<String,Map<String,Object>> systemTags)System tags for this resource.ListingRevisionSummary.Buildertagline(String tagline)The tagline of the listing revision.ListingRevisionSummary.BuildertimeCreated(Date timeCreated)The date and time the listing revision was created, in the format defined by RFC3339.ListingRevisionSummary.BuildertimeUpdated(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
-
listingType
public ListingRevisionSummary.Builder listingType(ListingType listingType)
The listing’s type.Populated from the listing.
- Parameters:
listingType- 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
-
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)
-
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)
-
-