Package com.oracle.bmc.marketplace.model
Class PublicationSummary.Builder
- java.lang.Object
-
- com.oracle.bmc.marketplace.model.PublicationSummary.Builder
-
- Enclosing class:
- PublicationSummary
public static class PublicationSummary.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PublicationSummarybuild()PublicationSummary.BuildercompartmentId(String compartmentId)The OCID of the compartment where the publication exists.PublicationSummary.Buildercopy(PublicationSummary model)PublicationSummary.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)The defined tags associated with this resource, if any.PublicationSummary.BuilderfreeformTags(Map<String,String> freeformTags)The freeform tags associated with this resource, if any.PublicationSummary.Buildericon(UploadData icon)PublicationSummary.Builderid(String id)The unique identifier for the publication in Marketplace.PublicationSummary.BuilderlifecycleState(Publication.LifecycleState lifecycleState)The lifecycle state of the publication.PublicationSummary.BuilderlistingType(ListingType listingType)The publisher category to which the publication belongs.PublicationSummary.Buildername(String name)The name of the publication, which is also used in the listing.PublicationSummary.BuilderpackageType(PackageTypeEnum packageType)The listing’s package type.PublicationSummary.BuildershortDescription(String shortDescription)A short description of the publication to use in the listing.PublicationSummary.BuildersupportedOperatingSystems(List<OperatingSystem> supportedOperatingSystems)The list of operating systems supported by the listing.PublicationSummary.BuildersystemTags(Map<String,Map<String,Object>> systemTags)The system tags associated with this resource, if any.PublicationSummary.BuildertimeCreated(Date timeCreated)The date and time the publication was created, expressed in RFC 3339 timestamp format.
-
-
-
Method Detail
-
lifecycleState
public PublicationSummary.Builder lifecycleState(Publication.LifecycleState lifecycleState)
The lifecycle state of the publication.- Parameters:
lifecycleState- the value to set- Returns:
- this builder
-
compartmentId
public PublicationSummary.Builder compartmentId(String compartmentId)
The OCID of the compartment where the publication exists.- Parameters:
compartmentId- the value to set- Returns:
- this builder
-
id
public PublicationSummary.Builder id(String id)
The unique identifier for the publication in Marketplace.- Parameters:
id- the value to set- Returns:
- this builder
-
name
public PublicationSummary.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
-
shortDescription
public PublicationSummary.Builder shortDescription(String shortDescription)
A short description of the publication to use in the listing.- Parameters:
shortDescription- the value to set- Returns:
- this builder
-
icon
public PublicationSummary.Builder icon(UploadData icon)
-
packageType
public PublicationSummary.Builder packageType(PackageTypeEnum packageType)
The listing’s package type.- Parameters:
packageType- the value to set- Returns:
- this builder
-
supportedOperatingSystems
public PublicationSummary.Builder supportedOperatingSystems(List<OperatingSystem> supportedOperatingSystems)
The list of operating systems supported by the listing.- Parameters:
supportedOperatingSystems- the value to set- Returns:
- this builder
-
listingType
public PublicationSummary.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
-
timeCreated
public 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
- Parameters:
timeCreated- the value to set- Returns:
- this builder
-
definedTags
public 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”}}
- Parameters:
definedTags- the value to set- Returns:
- this builder
-
freeformTags
public 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”}
- Parameters:
freeformTags- the value to set- Returns:
- this builder
-
systemTags
public 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}}
- Parameters:
systemTags- the value to set- Returns:
- this builder
-
build
public PublicationSummary build()
-
copy
public PublicationSummary.Builder copy(PublicationSummary model)
-
-