Class PublisherSummary.Builder
- java.lang.Object
-
- com.oracle.bmc.marketplaceprivateoffer.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.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.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.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.BuilderpublisherType(PublisherSummary.PublisherType publisherType)publisher type.PublisherSummary.BuilderregistryNamespace(String registryNamespace)The namespace for the publisher registry to persist artifacts.PublisherSummary.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
-
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)
-
-