Class PublisherSummary.Builder
- java.lang.Object
-
- com.oracle.bmc.marketplacepublisher.model.PublisherSummary.Builder
-
- Enclosing class:
- PublisherSummary
public static class PublisherSummary.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PublisherSummarybuild()PublisherSummary.BuilderbusinessPhoneNumber(String businessPhoneNumber)The business phone number of the publisher.PublisherSummary.Buildercity(String city)City in which partner company residesPublisherSummary.BuildercompartmentId(String compartmentId)The root compartment of the Publisher.PublisherSummary.BuildercontactEmail(String contactEmail)The public email address of the publisher for customers.PublisherSummary.BuildercontactPhone(String contactPhone)The phone number of the publisher in E.164 format.PublisherSummary.Buildercopy(PublisherSummary model)PublisherSummary.Buildercountry(String country)Country in which partner company residesPublisherSummary.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.PublisherSummary.Builderdescription(String description)A description of the publisher.PublisherSummary.BuilderdisplayName(String displayName)The name of the publisher.PublisherSummary.Builderemail(String email)Email address of the publisher.PublisherSummary.BuilderemployeeCount(Long employeeCount)Count of employees in publisher’s companyPublisherSummary.BuilderfacebookUrl(String facebookUrl)Publisher’s Facebook URLPublisherSummary.BuilderfreeformTags(Map<String,String> freeformTags)Simple key-value pair that is applied without any predefined name, type or scope.PublisherSummary.BuilderhqAddress(String hqAddress)The address of the publisher’s headquarters.PublisherSummary.Builderid(String id)Unique OCID identifier for the publisher.PublisherSummary.BuilderlegacyId(String legacyId)Unique legacy service identifier for the publisher.PublisherSummary.BuilderlinkedinUrl(String linkedinUrl)Publisher’s LinkedIn URLPublisherSummary.Builderlogo(UploadData logo)PublisherSummary.BuilderopnNumber(String opnNumber)OPN membership number of the publisherPublisherSummary.BuilderpublisherType(PublisherSummary.PublisherType publisherType)publisher type.PublisherSummary.BuilderregistryNamespace(String registryNamespace)The namespace for the publisher registry to persist artifacts.PublisherSummary.BuildersolutionDescription(String solutionDescription)A description of the publisher solutions.PublisherSummary.Builderstate(String state)State in which partner company residesPublisherSummary.BuildersystemTags(Map<String,Map<String,Object>> systemTags)System tags for this resource.PublisherSummary.BuildertimeCreated(Date timeCreated)The time the publisher was created.PublisherSummary.BuildertimeUpdated(Date timeUpdated)The time the publisher was updated.PublisherSummary.BuildertwitterUrl(String twitterUrl)Publisher’s Twitter URLPublisherSummary.BuilderwebsiteUrl(String websiteUrl)The publisher’s website.PublisherSummary.BuilderyearFounded(Long yearFounded)The year the publisher’s company or organization was founded.
-
-
-
Method Detail
-
id
public PublisherSummary.Builder id(String id)
Unique OCID identifier for the publisher.- Parameters:
id- the value to set- Returns:
- this builder
-
compartmentId
public PublisherSummary.Builder compartmentId(String compartmentId)
The root compartment of the Publisher.- Parameters:
compartmentId- the value to set- Returns:
- this builder
-
registryNamespace
public PublisherSummary.Builder registryNamespace(String registryNamespace)
The namespace for the publisher registry to persist artifacts.- Parameters:
registryNamespace- the value to set- Returns:
- this builder
-
legacyId
public PublisherSummary.Builder legacyId(String legacyId)
Unique legacy service identifier for the publisher.- Parameters:
legacyId- the value to set- Returns:
- this builder
-
displayName
public PublisherSummary.Builder displayName(String displayName)
The name of the publisher.- Parameters:
displayName- the value to set- Returns:
- this builder
-
description
public PublisherSummary.Builder description(String description)
A description of the publisher.- Parameters:
description- the value to set- Returns:
- this builder
-
yearFounded
public PublisherSummary.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 PublisherSummary.Builder websiteUrl(String websiteUrl)
The publisher’s website.- Parameters:
websiteUrl- the value to set- Returns:
- this builder
-
contactEmail
public PublisherSummary.Builder contactEmail(String contactEmail)
The public email address of the publisher for customers.- Parameters:
contactEmail- the value to set- Returns:
- this builder
-
contactPhone
public PublisherSummary.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 PublisherSummary.Builder hqAddress(String hqAddress)
The address of the publisher’s headquarters.- Parameters:
hqAddress- the value to set- Returns:
- this builder
-
logo
public PublisherSummary.Builder logo(UploadData logo)
-
facebookUrl
public PublisherSummary.Builder facebookUrl(String facebookUrl)
Publisher’s Facebook URL- Parameters:
facebookUrl- the value to set- Returns:
- this builder
-
twitterUrl
public PublisherSummary.Builder twitterUrl(String twitterUrl)
Publisher’s Twitter URL- Parameters:
twitterUrl- the value to set- Returns:
- this builder
-
linkedinUrl
public PublisherSummary.Builder linkedinUrl(String linkedinUrl)
Publisher’s LinkedIn URL- Parameters:
linkedinUrl- the value to set- Returns:
- this builder
-
publisherType
public PublisherSummary.Builder publisherType(PublisherSummary.PublisherType publisherType)
publisher type.- Parameters:
publisherType- the value to set- Returns:
- this builder
-
timeCreated
public PublisherSummary.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 PublisherSummary.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 PublisherSummary.Builder email(String email)
Email address of the publisher.- Parameters:
email- the value to set- Returns:
- this builder
-
businessPhoneNumber
public PublisherSummary.Builder businessPhoneNumber(String businessPhoneNumber)
The business phone number of the publisher.- Parameters:
businessPhoneNumber- the value to set- Returns:
- this builder
-
employeeCount
public PublisherSummary.Builder employeeCount(Long employeeCount)
Count of employees in publisher’s company- Parameters:
employeeCount- the value to set- Returns:
- this builder
-
solutionDescription
public PublisherSummary.Builder solutionDescription(String solutionDescription)
A description of the publisher solutions.- Parameters:
solutionDescription- the value to set- Returns:
- this builder
-
opnNumber
public PublisherSummary.Builder opnNumber(String opnNumber)
OPN membership number of the publisher- Parameters:
opnNumber- the value to set- Returns:
- this builder
-
country
public PublisherSummary.Builder country(String country)
Country in which partner company resides- Parameters:
country- the value to set- Returns:
- this builder
-
city
public PublisherSummary.Builder city(String city)
City in which partner company resides- Parameters:
city- the value to set- Returns:
- this builder
-
state
public PublisherSummary.Builder state(String state)
State in which partner company resides- Parameters:
state- the value to set- Returns:
- this builder
-
freeformTags
public PublisherSummary.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 PublisherSummary.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 PublisherSummary.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 PublisherSummary build()
-
copy
public PublisherSummary.Builder copy(PublisherSummary model)
-
-