Class CreateOfferingOptions.Builder
- java.lang.Object
-
- com.ibm.cloud.platform_services.catalog_management.v1.model.CreateOfferingOptions.Builder
-
- Enclosing class:
- CreateOfferingOptions
public static class CreateOfferingOptions.Builder extends java.lang.ObjectBuilder.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CreateOfferingOptions.BuilderaddFeatures(Feature features)Adds an features to features.CreateOfferingOptions.BuilderaddKeywords(java.lang.String keywords)Adds an keywords to keywords.CreateOfferingOptions.BuilderaddKinds(Kind kinds)Adds an kinds to kinds.CreateOfferingOptions.BuilderaddMedia(MediaItem media)Adds an media to media.CreateOfferingOptions.BuilderaddTags(java.lang.String tags)Adds an tags to tags.CreateOfferingOptionsbuild()Builds a CreateOfferingOptions.CreateOfferingOptions.BuildercatalogId(java.lang.String catalogId)Set the catalogId.CreateOfferingOptions.BuildercatalogIdentifier(java.lang.String catalogIdentifier)Set the catalogIdentifier.CreateOfferingOptions.BuildercatalogName(java.lang.String catalogName)Set the catalogName.CreateOfferingOptions.Buildercreated(java.util.Date created)Set the created.CreateOfferingOptions.Buildercrn(java.lang.String crn)Set the crn.CreateOfferingOptions.Builderdisclaimer(java.lang.String disclaimer)Set the disclaimer.CreateOfferingOptions.Builderfeatures(java.util.List<Feature> features)Set the features.CreateOfferingOptions.Builderhidden(java.lang.Boolean hidden)Set the hidden.CreateOfferingOptions.BuilderibmPublishApproved(java.lang.Boolean ibmPublishApproved)Set the ibmPublishApproved.CreateOfferingOptions.Builderid(java.lang.String id)Set the id.CreateOfferingOptions.Builderkeywords(java.util.List<java.lang.String> keywords)Set the keywords.CreateOfferingOptions.Builderkinds(java.util.List<Kind> kinds)Set the kinds.CreateOfferingOptions.Builderlabel(java.lang.String label)Set the label.CreateOfferingOptions.BuilderlongDescription(java.lang.String longDescription)Set the longDescription.CreateOfferingOptions.Buildermedia(java.util.List<MediaItem> media)Set the media.CreateOfferingOptions.Buildermetadata(java.util.Map<java.lang.String,java.lang.Object> metadata)Set the metadata.CreateOfferingOptions.Buildername(java.lang.String name)Set the name.CreateOfferingOptions.Builderoffering(Offering offering)Set the offering.CreateOfferingOptions.BuilderofferingDocsUrl(java.lang.String offeringDocsUrl)Set the offeringDocsUrl.CreateOfferingOptions.BuilderofferingIconUrl(java.lang.String offeringIconUrl)Set the offeringIconUrl.CreateOfferingOptions.BuilderofferingSupportUrl(java.lang.String offeringSupportUrl)Set the offeringSupportUrl.CreateOfferingOptions.BuilderpermitRequestIbmPublicPublish(java.lang.Boolean permitRequestIbmPublicPublish)Set the permitRequestIbmPublicPublish.CreateOfferingOptions.BuilderportalApprovalRecord(java.lang.String portalApprovalRecord)Set the portalApprovalRecord.CreateOfferingOptions.BuilderportalUiUrl(java.lang.String portalUiUrl)Set the portalUiUrl.CreateOfferingOptions.Builderprovider(java.lang.String provider)Set the provider.CreateOfferingOptions.BuilderproviderInfo(ProviderInfo providerInfo)Set the providerInfo.CreateOfferingOptions.BuilderpublicOriginalCrn(java.lang.String publicOriginalCrn)Set the publicOriginalCrn.CreateOfferingOptions.BuilderpublicPublishApproved(java.lang.Boolean publicPublishApproved)Set the publicPublishApproved.CreateOfferingOptions.BuilderpublishPublicCrn(java.lang.String publishPublicCrn)Set the publishPublicCrn.CreateOfferingOptions.Builderrating(Rating rating)Set the rating.CreateOfferingOptions.BuilderrepoInfo(RepoInfo repoInfo)Set the repoInfo.CreateOfferingOptions.Builderrev(java.lang.String rev)Set the rev.CreateOfferingOptions.BuildershortDescription(java.lang.String shortDescription)Set the shortDescription.CreateOfferingOptions.Buildersupport(Support support)Set the support.CreateOfferingOptions.Buildertags(java.util.List<java.lang.String> tags)Set the tags.CreateOfferingOptions.Builderupdated(java.util.Date updated)Set the updated.CreateOfferingOptions.Builderurl(java.lang.String url)Set the url.
-
-
-
Method Detail
-
build
public CreateOfferingOptions build()
Builds a CreateOfferingOptions.- Returns:
- the new CreateOfferingOptions instance
-
addTags
public CreateOfferingOptions.Builder addTags(java.lang.String tags)
Adds an tags to tags.- Parameters:
tags- the new tags- Returns:
- the CreateOfferingOptions builder
-
addKeywords
public CreateOfferingOptions.Builder addKeywords(java.lang.String keywords)
Adds an keywords to keywords.- Parameters:
keywords- the new keywords- Returns:
- the CreateOfferingOptions builder
-
addFeatures
public CreateOfferingOptions.Builder addFeatures(Feature features)
Adds an features to features.- Parameters:
features- the new features- Returns:
- the CreateOfferingOptions builder
-
addKinds
public CreateOfferingOptions.Builder addKinds(Kind kinds)
Adds an kinds to kinds.- Parameters:
kinds- the new kinds- Returns:
- the CreateOfferingOptions builder
-
addMedia
public CreateOfferingOptions.Builder addMedia(MediaItem media)
Adds an media to media.- Parameters:
media- the new media- Returns:
- the CreateOfferingOptions builder
-
catalogIdentifier
public CreateOfferingOptions.Builder catalogIdentifier(java.lang.String catalogIdentifier)
Set the catalogIdentifier.- Parameters:
catalogIdentifier- the catalogIdentifier- Returns:
- the CreateOfferingOptions builder
-
id
public CreateOfferingOptions.Builder id(java.lang.String id)
Set the id.- Parameters:
id- the id- Returns:
- the CreateOfferingOptions builder
-
rev
public CreateOfferingOptions.Builder rev(java.lang.String rev)
Set the rev.- Parameters:
rev- the rev- Returns:
- the CreateOfferingOptions builder
-
url
public CreateOfferingOptions.Builder url(java.lang.String url)
Set the url.- Parameters:
url- the url- Returns:
- the CreateOfferingOptions builder
-
crn
public CreateOfferingOptions.Builder crn(java.lang.String crn)
Set the crn.- Parameters:
crn- the crn- Returns:
- the CreateOfferingOptions builder
-
label
public CreateOfferingOptions.Builder label(java.lang.String label)
Set the label.- Parameters:
label- the label- Returns:
- the CreateOfferingOptions builder
-
name
public CreateOfferingOptions.Builder name(java.lang.String name)
Set the name.- Parameters:
name- the name- Returns:
- the CreateOfferingOptions builder
-
offeringIconUrl
public CreateOfferingOptions.Builder offeringIconUrl(java.lang.String offeringIconUrl)
Set the offeringIconUrl.- Parameters:
offeringIconUrl- the offeringIconUrl- Returns:
- the CreateOfferingOptions builder
-
offeringDocsUrl
public CreateOfferingOptions.Builder offeringDocsUrl(java.lang.String offeringDocsUrl)
Set the offeringDocsUrl.- Parameters:
offeringDocsUrl- the offeringDocsUrl- Returns:
- the CreateOfferingOptions builder
-
offeringSupportUrl
public CreateOfferingOptions.Builder offeringSupportUrl(java.lang.String offeringSupportUrl)
Set the offeringSupportUrl.- Parameters:
offeringSupportUrl- the offeringSupportUrl- Returns:
- the CreateOfferingOptions builder
-
tags
public CreateOfferingOptions.Builder tags(java.util.List<java.lang.String> tags)
Set the tags. Existing tags will be replaced.- Parameters:
tags- the tags- Returns:
- the CreateOfferingOptions builder
-
keywords
public CreateOfferingOptions.Builder keywords(java.util.List<java.lang.String> keywords)
Set the keywords. Existing keywords will be replaced.- Parameters:
keywords- the keywords- Returns:
- the CreateOfferingOptions builder
-
rating
public CreateOfferingOptions.Builder rating(Rating rating)
Set the rating.- Parameters:
rating- the rating- Returns:
- the CreateOfferingOptions builder
-
created
public CreateOfferingOptions.Builder created(java.util.Date created)
Set the created.- Parameters:
created- the created- Returns:
- the CreateOfferingOptions builder
-
updated
public CreateOfferingOptions.Builder updated(java.util.Date updated)
Set the updated.- Parameters:
updated- the updated- Returns:
- the CreateOfferingOptions builder
-
shortDescription
public CreateOfferingOptions.Builder shortDescription(java.lang.String shortDescription)
Set the shortDescription.- Parameters:
shortDescription- the shortDescription- Returns:
- the CreateOfferingOptions builder
-
longDescription
public CreateOfferingOptions.Builder longDescription(java.lang.String longDescription)
Set the longDescription.- Parameters:
longDescription- the longDescription- Returns:
- the CreateOfferingOptions builder
-
features
public CreateOfferingOptions.Builder features(java.util.List<Feature> features)
Set the features. Existing features will be replaced.- Parameters:
features- the features- Returns:
- the CreateOfferingOptions builder
-
kinds
public CreateOfferingOptions.Builder kinds(java.util.List<Kind> kinds)
Set the kinds. Existing kinds will be replaced.- Parameters:
kinds- the kinds- Returns:
- the CreateOfferingOptions builder
-
permitRequestIbmPublicPublish
public CreateOfferingOptions.Builder permitRequestIbmPublicPublish(java.lang.Boolean permitRequestIbmPublicPublish)
Set the permitRequestIbmPublicPublish.- Parameters:
permitRequestIbmPublicPublish- the permitRequestIbmPublicPublish- Returns:
- the CreateOfferingOptions builder
-
ibmPublishApproved
public CreateOfferingOptions.Builder ibmPublishApproved(java.lang.Boolean ibmPublishApproved)
Set the ibmPublishApproved.- Parameters:
ibmPublishApproved- the ibmPublishApproved- Returns:
- the CreateOfferingOptions builder
-
publicPublishApproved
public CreateOfferingOptions.Builder publicPublishApproved(java.lang.Boolean publicPublishApproved)
Set the publicPublishApproved.- Parameters:
publicPublishApproved- the publicPublishApproved- Returns:
- the CreateOfferingOptions builder
-
publicOriginalCrn
public CreateOfferingOptions.Builder publicOriginalCrn(java.lang.String publicOriginalCrn)
Set the publicOriginalCrn.- Parameters:
publicOriginalCrn- the publicOriginalCrn- Returns:
- the CreateOfferingOptions builder
-
publishPublicCrn
public CreateOfferingOptions.Builder publishPublicCrn(java.lang.String publishPublicCrn)
Set the publishPublicCrn.- Parameters:
publishPublicCrn- the publishPublicCrn- Returns:
- the CreateOfferingOptions builder
-
portalApprovalRecord
public CreateOfferingOptions.Builder portalApprovalRecord(java.lang.String portalApprovalRecord)
Set the portalApprovalRecord.- Parameters:
portalApprovalRecord- the portalApprovalRecord- Returns:
- the CreateOfferingOptions builder
-
portalUiUrl
public CreateOfferingOptions.Builder portalUiUrl(java.lang.String portalUiUrl)
Set the portalUiUrl.- Parameters:
portalUiUrl- the portalUiUrl- Returns:
- the CreateOfferingOptions builder
-
catalogId
public CreateOfferingOptions.Builder catalogId(java.lang.String catalogId)
Set the catalogId.- Parameters:
catalogId- the catalogId- Returns:
- the CreateOfferingOptions builder
-
catalogName
public CreateOfferingOptions.Builder catalogName(java.lang.String catalogName)
Set the catalogName.- Parameters:
catalogName- the catalogName- Returns:
- the CreateOfferingOptions builder
-
metadata
public CreateOfferingOptions.Builder metadata(java.util.Map<java.lang.String,java.lang.Object> metadata)
Set the metadata.- Parameters:
metadata- the metadata- Returns:
- the CreateOfferingOptions builder
-
disclaimer
public CreateOfferingOptions.Builder disclaimer(java.lang.String disclaimer)
Set the disclaimer.- Parameters:
disclaimer- the disclaimer- Returns:
- the CreateOfferingOptions builder
-
hidden
public CreateOfferingOptions.Builder hidden(java.lang.Boolean hidden)
Set the hidden.- Parameters:
hidden- the hidden- Returns:
- the CreateOfferingOptions builder
-
provider
public CreateOfferingOptions.Builder provider(java.lang.String provider)
Set the provider.- Parameters:
provider- the provider- Returns:
- the CreateOfferingOptions builder
-
providerInfo
public CreateOfferingOptions.Builder providerInfo(ProviderInfo providerInfo)
Set the providerInfo.- Parameters:
providerInfo- the providerInfo- Returns:
- the CreateOfferingOptions builder
-
repoInfo
public CreateOfferingOptions.Builder repoInfo(RepoInfo repoInfo)
Set the repoInfo.- Parameters:
repoInfo- the repoInfo- Returns:
- the CreateOfferingOptions builder
-
support
public CreateOfferingOptions.Builder support(Support support)
Set the support.- Parameters:
support- the support- Returns:
- the CreateOfferingOptions builder
-
media
public CreateOfferingOptions.Builder media(java.util.List<MediaItem> media)
Set the media. Existing media will be replaced.- Parameters:
media- the media- Returns:
- the CreateOfferingOptions builder
-
offering
public CreateOfferingOptions.Builder offering(Offering offering)
Set the offering.- Parameters:
offering- the offering- Returns:
- the CreateOfferingOptions builder
-
-