public static class Publication.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
Publication |
build() |
Publication.Builder |
compartmentId(String compartmentId)
The OCID of the
compartment where the publication exists.
|
Publication.Builder |
copy(Publication model) |
Publication.Builder |
definedTags(Map<String,Map<String,Object>> definedTags)
The defined tags associated with this resource, if any.
|
Publication.Builder |
freeformTags(Map<String,String> freeformTags)
The freeform tags associated with this resource, if any.
|
Publication.Builder |
icon(UploadData icon) |
Publication.Builder |
id(String id)
The unique identifier for the publication in Marketplace.
|
Publication.Builder |
lifecycleState(Publication.LifecycleState lifecycleState)
The lifecycle state of the publication.
|
Publication.Builder |
listingType(ListingType listingType)
The publisher category to which the publication belongs.
|
Publication.Builder |
longDescription(String longDescription)
A long description of the publication to use in the listing.
|
Publication.Builder |
name(String name)
The name of the publication, which is also used in the listing.
|
Publication.Builder |
packageType(PackageTypeEnum packageType)
The listing’s package type.
|
Publication.Builder |
shortDescription(String shortDescription)
A short description of the publication to use in the listing.
|
Publication.Builder |
supportContacts(List<SupportContact> supportContacts)
Contact information for getting support from the publisher for the listing.
|
Publication.Builder |
supportedOperatingSystems(List<OperatingSystem> supportedOperatingSystems)
The list of operating systems supprted by the listing.
|
Publication.Builder |
systemTags(Map<String,Map<String,Object>> systemTags)
The system tags associated with this resource, if any.
|
Publication.Builder |
timeCreated(Date timeCreated)
The date and time the publication was created, expressed in RFC
3339 timestamp format.
|
public Publication.Builder lifecycleState(Publication.LifecycleState lifecycleState)
The lifecycle state of the publication.
lifecycleState
- the value to setpublic Publication.Builder compartmentId(String compartmentId)
The OCID of the compartment where the publication exists.
compartmentId
- the value to setpublic Publication.Builder id(String id)
The unique identifier for the publication in Marketplace.
id
- the value to setpublic Publication.Builder name(String name)
The name of the publication, which is also used in the listing.
name
- the value to setpublic Publication.Builder shortDescription(String shortDescription)
A short description of the publication to use in the listing.
shortDescription
- the value to setpublic Publication.Builder longDescription(String longDescription)
A long description of the publication to use in the listing.
longDescription
- the value to setpublic Publication.Builder supportContacts(List<SupportContact> supportContacts)
Contact information for getting support from the publisher for the listing.
supportContacts
- the value to setpublic Publication.Builder icon(UploadData icon)
public Publication.Builder packageType(PackageTypeEnum packageType)
The listing’s package type.
packageType
- the value to setpublic Publication.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 Publication.Builder supportedOperatingSystems(List<OperatingSystem> supportedOperatingSystems)
The list of operating systems supprted by the listing.
supportedOperatingSystems
- the value to setpublic Publication.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 Publication.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 Publication.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 Publication.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 Publication build()
public Publication.Builder copy(Publication model)
Copyright © 2016–2024. All rights reserved.