Package com.oracle.bmc.marketplace.model
Class Publication.Builder
- java.lang.Object
- 
- com.oracle.bmc.marketplace.model.Publication.Builder
 
- 
- Enclosing class:
- Publication
 
 public static class Publication.Builder extends Object 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description Publicationbuild()Publication.BuildercompartmentId(String compartmentId)The OCID of the compartment where the publication exists.Publication.Buildercopy(Publication model)Publication.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)The defined tags associated with this resource, if any.Publication.BuilderfreeformTags(Map<String,String> freeformTags)The freeform tags associated with this resource, if any.Publication.Buildericon(UploadData icon)Publication.Builderid(String id)The unique identifier for the publication in Marketplace.Publication.BuilderlifecycleState(Publication.LifecycleState lifecycleState)The lifecycle state of the publication.Publication.BuilderlistingType(ListingType listingType)The publisher category to which the publication belongs.Publication.BuilderlongDescription(String longDescription)A long description of the publication to use in the listing.Publication.Buildername(String name)The name of the publication, which is also used in the listing.Publication.BuilderpackageType(PackageTypeEnum packageType)The listing’s package type.Publication.BuildershortDescription(String shortDescription)A short description of the publication to use in the listing.Publication.BuildersupportContacts(List<SupportContact> supportContacts)Contact information for getting support from the publisher for the listing.Publication.BuildersupportedOperatingSystems(List<OperatingSystem> supportedOperatingSystems)The list of operating systems supprted by the listing.Publication.BuildersystemTags(Map<String,Map<String,Object>> systemTags)The system tags associated with this resource, if any.Publication.BuildertimeCreated(Date timeCreated)The date and time the publication was created, expressed in RFC 3339 timestamp format.
 
- 
- 
- 
Method Detail- 
lifecycleStatepublic Publication.Builder lifecycleState(Publication.LifecycleState lifecycleState) The lifecycle state of the publication.- Parameters:
- lifecycleState- the value to set
- Returns:
- this builder
 
 - 
compartmentIdpublic Publication.Builder compartmentId(String compartmentId) The OCID of the compartment where the publication exists.- Parameters:
- compartmentId- the value to set
- Returns:
- this builder
 
 - 
idpublic Publication.Builder id(String id) The unique identifier for the publication in Marketplace.- Parameters:
- id- the value to set
- Returns:
- this builder
 
 - 
namepublic Publication.Builder name(String name) The name of the publication, which is also used in the listing.- Parameters:
- name- the value to set
- Returns:
- this builder
 
 - 
shortDescriptionpublic Publication.Builder shortDescription(String shortDescription) A short description of the publication to use in the listing.- Parameters:
- shortDescription- the value to set
- Returns:
- this builder
 
 - 
longDescriptionpublic Publication.Builder longDescription(String longDescription) A long description of the publication to use in the listing.- Parameters:
- longDescription- the value to set
- Returns:
- this builder
 
 - 
supportContactspublic Publication.Builder supportContacts(List<SupportContact> supportContacts) Contact information for getting support from the publisher for the listing.- Parameters:
- supportContacts- the value to set
- Returns:
- this builder
 
 - 
iconpublic Publication.Builder icon(UploadData icon) 
 - 
packageTypepublic Publication.Builder packageType(PackageTypeEnum packageType) The listing’s package type.- Parameters:
- packageType- the value to set
- Returns:
- this builder
 
 - 
listingTypepublic Publication.Builder listingType(ListingType listingType) The publisher category to which the publication belongs.The publisher category informs where the listing appears for use. - Parameters:
- listingType- the value to set
- Returns:
- this builder
 
 - 
supportedOperatingSystemspublic Publication.Builder supportedOperatingSystems(List<OperatingSystem> supportedOperatingSystems) The list of operating systems supprted by the listing.- Parameters:
- supportedOperatingSystems- the value to set
- Returns:
- this builder
 
 - 
timeCreatedpublic 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 - Parameters:
- timeCreated- the value to set
- Returns:
- this builder
 
 - 
definedTagspublic 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”}} - Parameters:
- definedTags- the value to set
- Returns:
- this builder
 
 - 
freeformTagspublic 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”} - Parameters:
- freeformTags- the value to set
- Returns:
- this builder
 
 - 
systemTagspublic 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}} - Parameters:
- systemTags- the value to set
- Returns:
- this builder
 
 - 
buildpublic Publication build() 
 - 
copypublic Publication.Builder copy(Publication model) 
 
- 
 
-