Package com.oracle.bmc.marketplace.model
Class CreatePublicationDetails.Builder
- java.lang.Object
-
- com.oracle.bmc.marketplace.model.CreatePublicationDetails.Builder
-
- Enclosing class:
- CreatePublicationDetails
public static class CreatePublicationDetails.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CreatePublicationDetails
build()
CreatePublicationDetails.Builder
compartmentId(String compartmentId)
The OCID of the compartment where you want to create the publication.CreatePublicationDetails.Builder
copy(CreatePublicationDetails model)
CreatePublicationDetails.Builder
definedTags(Map<String,Map<String,Object>> definedTags)
The defined tags associated with this resource, if any.CreatePublicationDetails.Builder
freeformTags(Map<String,String> freeformTags)
The freeform tags associated with this resource, if any.CreatePublicationDetails.Builder
isAgreementAcknowledged(Boolean isAgreementAcknowledged)
Whether the publisher acknowledged that they have the right and authority to share the contents of the publication and that they accepted the Oracle terms of use agreements required to create a publication.CreatePublicationDetails.Builder
listingType(ListingType listingType)
The publisher category to which the publication belongs.CreatePublicationDetails.Builder
longDescription(String longDescription)
A long description of the publication to use in the listing.CreatePublicationDetails.Builder
name(String name)
The name of the publication, which is also used in the listing.CreatePublicationDetails.Builder
packageDetails(CreatePublicationPackage packageDetails)
CreatePublicationDetails.Builder
shortDescription(String shortDescription)
A short description of the publication to use in the listing.CreatePublicationDetails.Builder
supportContacts(List<SupportContact> supportContacts)
Contact information for getting support from the publisher for the listing.
-
-
-
Method Detail
-
listingType
public CreatePublicationDetails.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
-
name
public CreatePublicationDetails.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 CreatePublicationDetails.Builder shortDescription(String shortDescription)
A short description of the publication to use in the listing.- Parameters:
shortDescription
- the value to set- Returns:
- this builder
-
longDescription
public CreatePublicationDetails.Builder longDescription(String longDescription)
A long description of the publication to use in the listing.- Parameters:
longDescription
- the value to set- Returns:
- this builder
-
supportContacts
public CreatePublicationDetails.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
-
compartmentId
public CreatePublicationDetails.Builder compartmentId(String compartmentId)
The OCID of the compartment where you want to create the publication.- Parameters:
compartmentId
- the value to set- Returns:
- this builder
-
packageDetails
public CreatePublicationDetails.Builder packageDetails(CreatePublicationPackage packageDetails)
-
isAgreementAcknowledged
public CreatePublicationDetails.Builder isAgreementAcknowledged(Boolean isAgreementAcknowledged)
Whether the publisher acknowledged that they have the right and authority to share the contents of the publication and that they accepted the Oracle terms of use agreements required to create a publication.- Parameters:
isAgreementAcknowledged
- the value to set- Returns:
- this builder
-
definedTags
public CreatePublicationDetails.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 CreatePublicationDetails.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
-
build
public CreatePublicationDetails build()
-
copy
public CreatePublicationDetails.Builder copy(CreatePublicationDetails model)
-
-