public static class PublicationSummary.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
PublicationSummary |
build() |
PublicationSummary.Builder |
compartmentId(String compartmentId)
The OCID of the
compartment where the publication exists.
|
PublicationSummary.Builder |
copy(PublicationSummary model) |
PublicationSummary.Builder |
icon(UploadData icon) |
PublicationSummary.Builder |
id(String id)
The unique identifier for the publication in Marketplace.
|
PublicationSummary.Builder |
lifecycleState(Publication.LifecycleState lifecycleState)
The lifecycle state of the publication.
|
PublicationSummary.Builder |
listingType(ListingType listingType)
The publisher category to which the publication belongs.
|
PublicationSummary.Builder |
name(String name)
The name of the publication, which is also used in the listing.
|
PublicationSummary.Builder |
packageType(PackageTypeEnum packageType)
The listing’s package type.
|
PublicationSummary.Builder |
shortDescription(String shortDescription)
A short description of the publication to use in the listing.
|
PublicationSummary.Builder |
supportedOperatingSystems(List<OperatingSystem> supportedOperatingSystems)
The list of operating systems supported by the listing.
|
PublicationSummary.Builder |
timeCreated(Date timeCreated)
The date and time the publication was created, expressed in RFC
3339 timestamp format.
|
public PublicationSummary.Builder lifecycleState(Publication.LifecycleState lifecycleState)
The lifecycle state of the publication.
lifecycleState
- the value to setpublic PublicationSummary.Builder compartmentId(String compartmentId)
The OCID of the compartment where the publication exists.
compartmentId
- the value to setpublic PublicationSummary.Builder id(String id)
The unique identifier for the publication in Marketplace.
id
- the value to setpublic PublicationSummary.Builder name(String name)
The name of the publication, which is also used in the listing.
name
- the value to setpublic PublicationSummary.Builder shortDescription(String shortDescription)
A short description of the publication to use in the listing.
shortDescription
- the value to setpublic PublicationSummary.Builder icon(UploadData icon)
public PublicationSummary.Builder packageType(PackageTypeEnum packageType)
The listing’s package type.
packageType
- the value to setpublic PublicationSummary.Builder supportedOperatingSystems(List<OperatingSystem> supportedOperatingSystems)
The list of operating systems supported by the listing.
supportedOperatingSystems
- the value to setpublic PublicationSummary.Builder listingType(ListingType listingType)
The publisher category to which the publication belongs. The publisher category informs where the listing appears for use.
listingType
- the value to setpublic PublicationSummary.Builder timeCreated(Date timeCreated)
The date and time the publication was created, expressed in RFC 3339 timestamp format.
Example: 2016-08-25T21:10:29.600Z
timeCreated
- the value to setpublic PublicationSummary build()
public PublicationSummary.Builder copy(PublicationSummary model)
Copyright © 2016–2023. All rights reserved.