Package com.oracle.bmc.marketplace.model
Class Publisher.Builder
- java.lang.Object
-
- com.oracle.bmc.marketplace.model.Publisher.Builder
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Publisher
build()
Publisher.Builder
contactEmail(String contactEmail)
The email address of the publisher.Publisher.Builder
contactPhone(String contactPhone)
The phone number of the publisher.Publisher.Builder
copy(Publisher model)
Publisher.Builder
description(String description)
A description of the publisher.Publisher.Builder
hqAddress(String hqAddress)
The address of the publisher’s headquarters.Publisher.Builder
id(String id)
Unique identifier for the publisher.Publisher.Builder
links(List<Link> links)
Reference links.Publisher.Builder
logo(UploadData logo)
Publisher.Builder
name(String name)
The name of the publisher.Publisher.Builder
websiteUrl(String websiteUrl)
The publisher’s website.Publisher.Builder
yearFounded(Long yearFounded)
The year the publisher’s company or organization was founded.
-
-
-
Method Detail
-
id
public Publisher.Builder id(String id)
Unique identifier for the publisher.- Parameters:
id
- the value to set- Returns:
- this builder
-
name
public Publisher.Builder name(String name)
The name of the publisher.- Parameters:
name
- 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 email address of the publisher.- Parameters:
contactEmail
- the value to set- Returns:
- this builder
-
contactPhone
public Publisher.Builder contactPhone(String contactPhone)
The phone number of the publisher.- 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)
-
links
public Publisher.Builder links(List<Link> links)
Reference links.- Parameters:
links
- the value to set- Returns:
- this builder
-
build
public Publisher build()
-
copy
public Publisher.Builder copy(Publisher model)
-
-