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