Class AdminPublisher.Builder
- java.lang.Object
-
- com.oracle.bmc.marketplacepublisher.model.AdminPublisher.Builder
-
- Enclosing class:
- AdminPublisher
public static class AdminPublisher.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AdminPublisherbuild()AdminPublisher.BuildercompartmentId(String compartmentId)The root compartment of the Publisher.AdminPublisher.BuildercompartmentName(String compartmentName)The root compartment name of the Publisher.AdminPublisher.BuildercontactEmail(String contactEmail)The public email address of the publisher for customers.AdminPublisher.BuildercontactPhone(String contactPhone)The phone number of the publisher in E.164 format.AdminPublisher.Buildercopy(AdminPublisher model)AdminPublisher.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.AdminPublisher.Builderdescription(String description)A description of the publisher.AdminPublisher.BuilderdisplayName(String displayName)The name of the publisher.AdminPublisher.Builderemail(String email)Email address of the publisher.AdminPublisher.BuilderemployeeCount(String employeeCount)Count of employees in publisher’s companyAdminPublisher.BuilderfacebookUrl(String facebookUrl)Publisher’s Facebook URLAdminPublisher.BuilderfirstName(String firstName)First Name of the publisherAdminPublisher.BuilderfreeformTags(Map<String,String> freeformTags)Simple key-value pair that is applied without any predefined name, type or scope.AdminPublisher.BuilderhqAddress(String hqAddress)The address of the publisher’s headquarters.AdminPublisher.Builderid(String id)Unique OCID identifier for the publisher.AdminPublisher.BuilderisAppPublisher(Boolean isAppPublisher)Indicates if publisher has application listingsAdminPublisher.BuilderisFxEnabled(Boolean isFxEnabled)Whether automatic FX conversion is enabled for the publisher.AdminPublisher.BuilderisOpnAgreementValidationExempt(Boolean isOpnAgreementValidationExempt)Indicates whether this publisher is explicitly exempt from OPN and Oracle Cloud Marketplace Agreement validation.AdminPublisher.BuilderisOracleOwned(Boolean isOracleOwned)Indicates if publisher is Oracle first-party or third-partyAdminPublisher.BuilderisServicePublisher(Boolean isServicePublisher)Indicates if publisher has service listingsAdminPublisher.BuilderlastName(String lastName)Last Name of the publisherAdminPublisher.BuilderlegacyId(String legacyId)Unique legacy service identifier for the publisher.AdminPublisher.BuilderlinkedinUrl(String linkedinUrl)Publisher’s LinkedIn URLAdminPublisher.Builderlogo(UploadData logo)AdminPublisher.BuildermodifiedBy(String modifiedBy)Indicates who modified the publisher data.AdminPublisher.BuildernotificationEmail(String notificationEmail)The private email address of the publisher product team.AdminPublisher.BuilderopnMembership(OpnMembership opnMembership)AdminPublisher.BuilderpartnerPortalOptions(PartnerPortalOptions partnerPortalOptions)AdminPublisher.BuilderprivateOfferAccountDetails(PrivateOfferAccountDetails privateOfferAccountDetails)AdminPublisher.BuilderpublisherStatus(PublisherStatus publisherStatus)publisher status.AdminPublisher.BuilderpublisherType(PublisherSummary.PublisherType publisherType)publisher type.AdminPublisher.BuilderregistryNamespace(String registryNamespace)The namespace for the publisher registry to persist artifacts.AdminPublisher.BuildersolutionDescription(String solutionDescription)A description of the publisher solutions.AdminPublisher.Builderstatus(PublisherStatus status)The status for the publisher.AdminPublisher.BuildersystemTags(Map<String,Map<String,Object>> systemTags)System tags for this resource.AdminPublisher.BuildertimeCreated(Date timeCreated)The time the publisher was created.AdminPublisher.BuildertimeExpired(Date timeExpired)the expiry time of the publisherAdminPublisher.BuildertimeUpdated(Date timeUpdated)The time the publisher was updated.AdminPublisher.BuildertwitterUrl(String twitterUrl)Publisher’s Twitter URLAdminPublisher.BuilderuploadOsParUrl(String uploadOsParUrl)upload access object storage par urlAdminPublisher.BuilderwebsiteUrl(String websiteUrl)The publisher’s website.AdminPublisher.BuilderyearFounded(Long yearFounded)The year the publisher’s company or organization was founded.
-
-
-
Method Detail
-
publisherStatus
public AdminPublisher.Builder publisherStatus(PublisherStatus publisherStatus)
publisher status.- Parameters:
publisherStatus- the value to set- Returns:
- this builder
-
notificationEmail
public AdminPublisher.Builder notificationEmail(String notificationEmail)
The private email address of the publisher product team.- Parameters:
notificationEmail- the value to set- Returns:
- this builder
-
opnMembership
public AdminPublisher.Builder opnMembership(OpnMembership opnMembership)
-
privateOfferAccountDetails
public AdminPublisher.Builder privateOfferAccountDetails(PrivateOfferAccountDetails privateOfferAccountDetails)
-
isFxEnabled
public AdminPublisher.Builder isFxEnabled(Boolean isFxEnabled)
Whether automatic FX conversion is enabled for the publisher.- Parameters:
isFxEnabled- the value to set- Returns:
- this builder
-
uploadOsParUrl
public AdminPublisher.Builder uploadOsParUrl(String uploadOsParUrl)
upload access object storage par url- Parameters:
uploadOsParUrl- the value to set- Returns:
- this builder
-
id
public AdminPublisher.Builder id(String id)
Unique OCID identifier for the publisher.- Parameters:
id- the value to set- Returns:
- this builder
-
compartmentId
public AdminPublisher.Builder compartmentId(String compartmentId)
The root compartment of the Publisher.- Parameters:
compartmentId- the value to set- Returns:
- this builder
-
compartmentName
public AdminPublisher.Builder compartmentName(String compartmentName)
The root compartment name of the Publisher.- Parameters:
compartmentName- the value to set- Returns:
- this builder
-
firstName
public AdminPublisher.Builder firstName(String firstName)
First Name of the publisher- Parameters:
firstName- the value to set- Returns:
- this builder
-
lastName
public AdminPublisher.Builder lastName(String lastName)
Last Name of the publisher- Parameters:
lastName- the value to set- Returns:
- this builder
-
email
public AdminPublisher.Builder email(String email)
Email address of the publisher.- Parameters:
email- the value to set- Returns:
- this builder
-
registryNamespace
public AdminPublisher.Builder registryNamespace(String registryNamespace)
The namespace for the publisher registry to persist artifacts.- Parameters:
registryNamespace- the value to set- Returns:
- this builder
-
status
public AdminPublisher.Builder status(PublisherStatus status)
The status for the publisher.- Parameters:
status- the value to set- Returns:
- this builder
-
legacyId
public AdminPublisher.Builder legacyId(String legacyId)
Unique legacy service identifier for the publisher.- Parameters:
legacyId- the value to set- Returns:
- this builder
-
displayName
public AdminPublisher.Builder displayName(String displayName)
The name of the publisher.- Parameters:
displayName- the value to set- Returns:
- this builder
-
description
public AdminPublisher.Builder description(String description)
A description of the publisher.- Parameters:
description- the value to set- Returns:
- this builder
-
solutionDescription
public AdminPublisher.Builder solutionDescription(String solutionDescription)
A description of the publisher solutions.- Parameters:
solutionDescription- the value to set- Returns:
- this builder
-
yearFounded
public AdminPublisher.Builder yearFounded(Long yearFounded)
The year the publisher’s company or organization was founded.- Parameters:
yearFounded- the value to set- Returns:
- this builder
-
employeeCount
public AdminPublisher.Builder employeeCount(String employeeCount)
Count of employees in publisher’s company- Parameters:
employeeCount- the value to set- Returns:
- this builder
-
modifiedBy
public AdminPublisher.Builder modifiedBy(String modifiedBy)
Indicates who modified the publisher data.- Parameters:
modifiedBy- the value to set- Returns:
- this builder
-
isOracleOwned
public AdminPublisher.Builder isOracleOwned(Boolean isOracleOwned)
Indicates if publisher is Oracle first-party or third-party- Parameters:
isOracleOwned- the value to set- Returns:
- this builder
-
isOpnAgreementValidationExempt
public AdminPublisher.Builder isOpnAgreementValidationExempt(Boolean isOpnAgreementValidationExempt)
Indicates whether this publisher is explicitly exempt from OPN and Oracle Cloud Marketplace Agreement validation.- Parameters:
isOpnAgreementValidationExempt- the value to set- Returns:
- this builder
-
partnerPortalOptions
public AdminPublisher.Builder partnerPortalOptions(PartnerPortalOptions partnerPortalOptions)
-
websiteUrl
public AdminPublisher.Builder websiteUrl(String websiteUrl)
The publisher’s website.- Parameters:
websiteUrl- the value to set- Returns:
- this builder
-
contactEmail
public AdminPublisher.Builder contactEmail(String contactEmail)
The public email address of the publisher for customers.- Parameters:
contactEmail- the value to set- Returns:
- this builder
-
contactPhone
public AdminPublisher.Builder contactPhone(String contactPhone)
The phone number of the publisher in E.164 format.- Parameters:
contactPhone- the value to set- Returns:
- this builder
-
hqAddress
public AdminPublisher.Builder hqAddress(String hqAddress)
The address of the publisher’s headquarters.- Parameters:
hqAddress- the value to set- Returns:
- this builder
-
logo
public AdminPublisher.Builder logo(UploadData logo)
-
facebookUrl
public AdminPublisher.Builder facebookUrl(String facebookUrl)
Publisher’s Facebook URL- Parameters:
facebookUrl- the value to set- Returns:
- this builder
-
twitterUrl
public AdminPublisher.Builder twitterUrl(String twitterUrl)
Publisher’s Twitter URL- Parameters:
twitterUrl- the value to set- Returns:
- this builder
-
linkedinUrl
public AdminPublisher.Builder linkedinUrl(String linkedinUrl)
Publisher’s LinkedIn URL- Parameters:
linkedinUrl- the value to set- Returns:
- this builder
-
publisherType
public AdminPublisher.Builder publisherType(PublisherSummary.PublisherType publisherType)
publisher type.- Parameters:
publisherType- the value to set- Returns:
- this builder
-
isAppPublisher
public AdminPublisher.Builder isAppPublisher(Boolean isAppPublisher)
Indicates if publisher has application listings- Parameters:
isAppPublisher- the value to set- Returns:
- this builder
-
isServicePublisher
public AdminPublisher.Builder isServicePublisher(Boolean isServicePublisher)
Indicates if publisher has service listings- Parameters:
isServicePublisher- the value to set- Returns:
- this builder
-
timeCreated
public AdminPublisher.Builder timeCreated(Date timeCreated)
The time the publisher was created.An RFC3339 formatted datetime string.
- Parameters:
timeCreated- the value to set- Returns:
- this builder
-
timeUpdated
public AdminPublisher.Builder timeUpdated(Date timeUpdated)
The time the publisher was updated.An RFC3339 formatted datetime string.
- Parameters:
timeUpdated- the value to set- Returns:
- this builder
-
timeExpired
public AdminPublisher.Builder timeExpired(Date timeExpired)
the expiry time of the publisher- Parameters:
timeExpired- the value to set- Returns:
- this builder
-
freeformTags
public AdminPublisher.Builder freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type or scope.Exists for cross-compatibility only. Example: {“bar-key”: “value”}
- Parameters:
freeformTags- the value to set- Returns:
- this builder
-
definedTags
public AdminPublisher.Builder definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.Each key is predefined and scoped to a namespace. Example: {“foo-namespace”: {“bar-key”: “value”}}
- Parameters:
definedTags- the value to set- Returns:
- this builder
-
systemTags
public AdminPublisher.Builder systemTags(Map<String,Map<String,Object>> systemTags)
System tags for this resource.Each key is predefined and scoped to a namespace. Example: {“orcl-cloud”: {“free-tier-retained”: “true”}}
- Parameters:
systemTags- the value to set- Returns:
- this builder
-
build
public AdminPublisher build()
-
copy
public AdminPublisher.Builder copy(AdminPublisher model)
-
-