Class Publisher.Builder
- java.lang.Object
-
- com.oracle.bmc.marketplacepublisher.model.Publisher.Builder
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Publisherbuild()Publisher.BuilderbusinessPhoneNumber(String businessPhoneNumber)The business phone number of the publisher.Publisher.Buildercity(String city)City in which partner company residesPublisher.BuildercompartmentId(String compartmentId)The root compartment of the Publisher.Publisher.BuildercontactEmail(String contactEmail)The public email address of the publisher for customers.Publisher.BuildercontactPhone(String contactPhone)The phone number of the publisher in E.164 format.Publisher.Buildercopy(Publisher model)Publisher.Buildercountry(String country)Country in which partner company residesPublisher.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.Publisher.Builderdescription(String description)A description of the publisher.Publisher.BuilderdisplayName(String displayName)The name of the publisher.Publisher.Builderemail(String email)Email address of the publisher.Publisher.BuilderemployeeCount(Long employeeCount)Count of employees in publisher’s companyPublisher.BuilderenrollmentStatus(String enrollmentStatus)Oracle Cloud Marketplace agreement statusPublisher.BuilderfacebookUrl(String facebookUrl)Publisher’s Facebook URLPublisher.BuilderfreeformTags(Map<String,String> freeformTags)Simple key-value pair that is applied without any predefined name, type or scope.Publisher.BuilderhqAddress(String hqAddress)The address of the publisher’s headquarters.Publisher.Builderid(String id)Unique OCID identifier for the publisher.Publisher.BuilderisFxEnabled(Boolean isFxEnabled)Whether automatic FX conversion is enabled for the publisher.Publisher.BuilderlegacyId(String legacyId)Unique legacy service identifier for the publisher.Publisher.BuilderlinkedinUrl(String linkedinUrl)Publisher’s LinkedIn URLPublisher.Builderlogo(UploadData logo)Publisher.BuildernotificationEmail(String notificationEmail)The private email address of the publisher product team.Publisher.BuilderopnMembership(OpnMembership opnMembership)Publisher.BuilderopnNumber(String opnNumber)OPN membership number of the publisherPublisher.BuilderprivateOfferAccountDetails(PrivateOfferAccountDetails privateOfferAccountDetails)Publisher.BuilderpublisherStatus(PublisherStatus publisherStatus)publisher status.Publisher.BuilderpublisherType(Publisher.PublisherType publisherType)publisher type.Publisher.BuilderregistryNamespace(String registryNamespace)The namespace for the publisher registry to persist artifacts.Publisher.BuildersolutionDescription(String solutionDescription)A description of the publisher solutions.Publisher.Builderstate(String state)State in which partner company residesPublisher.BuildersystemTags(Map<String,Map<String,Object>> systemTags)System tags for this resource.Publisher.BuildertimeCreated(Date timeCreated)The time the publisher was created.Publisher.BuildertimeUpdated(Date timeUpdated)The time the publisher was updated.Publisher.BuildertwitterUrl(String twitterUrl)Publisher’s Twitter URLPublisher.BuilderwebsiteUrl(String websiteUrl)The publisher’s website.Publisher.BuilderyearFounded(Long yearFounded)The year the publisher’s company or organization was founded.
-
-
-
Method Detail
-
publisherStatus
public Publisher.Builder publisherStatus(PublisherStatus publisherStatus)
publisher status.- Parameters:
publisherStatus- the value to set- Returns:
- this builder
-
notificationEmail
public Publisher.Builder notificationEmail(String notificationEmail)
The private email address of the publisher product team.- Parameters:
notificationEmail- the value to set- Returns:
- this builder
-
enrollmentStatus
public Publisher.Builder enrollmentStatus(String enrollmentStatus)
Oracle Cloud Marketplace agreement status- Parameters:
enrollmentStatus- the value to set- Returns:
- this builder
-
opnMembership
public Publisher.Builder opnMembership(OpnMembership opnMembership)
-
privateOfferAccountDetails
public Publisher.Builder privateOfferAccountDetails(PrivateOfferAccountDetails privateOfferAccountDetails)
-
isFxEnabled
public Publisher.Builder isFxEnabled(Boolean isFxEnabled)
Whether automatic FX conversion is enabled for the publisher.- Parameters:
isFxEnabled- the value to set- Returns:
- this builder
-
id
public Publisher.Builder id(String id)
Unique OCID identifier for the publisher.- Parameters:
id- the value to set- Returns:
- this builder
-
compartmentId
public Publisher.Builder compartmentId(String compartmentId)
The root compartment of the Publisher.- Parameters:
compartmentId- the value to set- Returns:
- this builder
-
registryNamespace
public Publisher.Builder registryNamespace(String registryNamespace)
The namespace for the publisher registry to persist artifacts.- Parameters:
registryNamespace- the value to set- Returns:
- this builder
-
legacyId
public Publisher.Builder legacyId(String legacyId)
Unique legacy service identifier for the publisher.- Parameters:
legacyId- the value to set- Returns:
- this builder
-
displayName
public Publisher.Builder displayName(String displayName)
The name of the publisher.- Parameters:
displayName- the value to set- Returns:
- this builder
-
description
public Publisher.Builder description(String description)
A description of the publisher.- Parameters:
description- the value to set- Returns:
- this builder
-
yearFounded
public Publisher.Builder yearFounded(Long yearFounded)
The year the publisher’s company or organization was founded.- Parameters:
yearFounded- the value to set- Returns:
- this builder
-
websiteUrl
public Publisher.Builder websiteUrl(String websiteUrl)
The publisher’s website.- Parameters:
websiteUrl- the value to set- Returns:
- this builder
-
contactEmail
public Publisher.Builder contactEmail(String contactEmail)
The public email address of the publisher for customers.- Parameters:
contactEmail- the value to set- Returns:
- this builder
-
contactPhone
public Publisher.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 Publisher.Builder hqAddress(String hqAddress)
The address of the publisher’s headquarters.- Parameters:
hqAddress- the value to set- Returns:
- this builder
-
logo
public Publisher.Builder logo(UploadData logo)
-
facebookUrl
public Publisher.Builder facebookUrl(String facebookUrl)
Publisher’s Facebook URL- Parameters:
facebookUrl- the value to set- Returns:
- this builder
-
twitterUrl
public Publisher.Builder twitterUrl(String twitterUrl)
Publisher’s Twitter URL- Parameters:
twitterUrl- the value to set- Returns:
- this builder
-
linkedinUrl
public Publisher.Builder linkedinUrl(String linkedinUrl)
Publisher’s LinkedIn URL- Parameters:
linkedinUrl- the value to set- Returns:
- this builder
-
publisherType
public Publisher.Builder publisherType(Publisher.PublisherType publisherType)
publisher type.- Parameters:
publisherType- the value to set- Returns:
- this builder
-
timeCreated
public Publisher.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 Publisher.Builder timeUpdated(Date timeUpdated)
The time the publisher was updated.An RFC3339 formatted datetime string.
- Parameters:
timeUpdated- the value to set- Returns:
- this builder
-
email
public Publisher.Builder email(String email)
Email address of the publisher.- Parameters:
email- the value to set- Returns:
- this builder
-
businessPhoneNumber
public Publisher.Builder businessPhoneNumber(String businessPhoneNumber)
The business phone number of the publisher.- Parameters:
businessPhoneNumber- the value to set- Returns:
- this builder
-
employeeCount
public Publisher.Builder employeeCount(Long employeeCount)
Count of employees in publisher’s company- Parameters:
employeeCount- the value to set- Returns:
- this builder
-
solutionDescription
public Publisher.Builder solutionDescription(String solutionDescription)
A description of the publisher solutions.- Parameters:
solutionDescription- the value to set- Returns:
- this builder
-
opnNumber
public Publisher.Builder opnNumber(String opnNumber)
OPN membership number of the publisher- Parameters:
opnNumber- the value to set- Returns:
- this builder
-
country
public Publisher.Builder country(String country)
Country in which partner company resides- Parameters:
country- the value to set- Returns:
- this builder
-
city
public Publisher.Builder city(String city)
City in which partner company resides- Parameters:
city- the value to set- Returns:
- this builder
-
state
public Publisher.Builder state(String state)
State in which partner company resides- Parameters:
state- the value to set- Returns:
- this builder
-
freeformTags
public Publisher.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 Publisher.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 Publisher.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 Publisher build()
-
copy
public Publisher.Builder copy(Publisher model)
-
-