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 |
definedTags(Map<String,Map<String,Object>> definedTags)
The defined tags associated with this resource, if any.
|
PublicationSummary.Builder |
freeformTags(Map<String,String> freeformTags)
The freeform tags associated with this resource, if any.
|
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 |
systemTags(Map<String,Map<String,Object>> systemTags)
The system tags associated with this resource, if any.
|
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.Builder definedTags(Map<String,Map<String,Object>> definedTags)
The defined tags associated with this resource, if any. Each key is predefined and scoped
to namespaces. For more information, see Resource
Tags.
Example: {"Operations": {"CostCenter": "42"}}
definedTags
- the value to setpublic PublicationSummary.Builder freeformTags(Map<String,String> freeformTags)
The freeform tags associated with this resource, if any. Each tag is a simple key-value
pair with no predefined name, type, or namespace. For more information, see Resource
Tags.
Example: {"Department": "Finance"}
freeformTags
- the value to setpublic PublicationSummary.Builder systemTags(Map<String,Map<String,Object>> systemTags)
The system tags associated with this resource, if any. The system tags are set by Oracle
Cloud Infrastructure services. Each key is predefined and scoped to namespaces. For more
information, see Resource
Tags.
Example: {orcl-cloud: {free-tier-retain: true}}
systemTags
- the value to setpublic PublicationSummary build()
public PublicationSummary.Builder copy(PublicationSummary model)
Copyright © 2016–2024. All rights reserved.