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.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.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.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.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.BuilderprivateOfferAccountDetails(PrivateOfferAccountDetails privateOfferAccountDetails)Publisher.BuilderpublisherStatus(Publisher.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.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(Publisher.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
-
opnMembership
public Publisher.Builder opnMembership(OpnMembership opnMembership)
-
privateOfferAccountDetails
public Publisher.Builder privateOfferAccountDetails(PrivateOfferAccountDetails privateOfferAccountDetails)
-
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
-
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)
-
-