Class Catalog.Builder
- java.lang.Object
-
- com.ibm.cloud.platform_services.catalog_management.v1.model.Catalog.Builder
-
- Enclosing class:
- Catalog
public static class Catalog.Builder extends java.lang.ObjectBuilder.
-
-
Constructor Summary
Constructors Constructor Description Builder()Instantiates a new builder.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Catalog.BuilderaddFeatures(Feature features)Adds an features to features.Catalog.BuilderaddTags(java.lang.String tags)Adds an tags to tags.Catalogbuild()Builds a Catalog.Catalog.BuildercatalogFilters(Filters catalogFilters)Set the catalogFilters.Catalog.BuildercatalogIconUrl(java.lang.String catalogIconUrl)Set the catalogIconUrl.Catalog.Builderdisabled(java.lang.Boolean disabled)Set the disabled.Catalog.Builderfeatures(java.util.List<Feature> features)Set the features.Catalog.Builderid(java.lang.String id)Set the id.Catalog.Builderkind(java.lang.String kind)Set the kind.Catalog.Builderlabel(java.lang.String label)Set the label.Catalog.BuilderowningAccount(java.lang.String owningAccount)Set the owningAccount.Catalog.BuilderresourceGroupId(java.lang.String resourceGroupId)Set the resourceGroupId.Catalog.Builderrev(java.lang.String rev)Set the rev.Catalog.BuildershortDescription(java.lang.String shortDescription)Set the shortDescription.Catalog.BuildersyndicationSettings(SyndicationResource syndicationSettings)Set the syndicationSettings.Catalog.Buildertags(java.util.List<java.lang.String> tags)Set the tags.
-
-
-
Method Detail
-
build
public Catalog build()
Builds a Catalog.- Returns:
- the new Catalog instance
-
addTags
public Catalog.Builder addTags(java.lang.String tags)
Adds an tags to tags.- Parameters:
tags- the new tags- Returns:
- the Catalog builder
-
addFeatures
public Catalog.Builder addFeatures(Feature features)
Adds an features to features.- Parameters:
features- the new features- Returns:
- the Catalog builder
-
id
public Catalog.Builder id(java.lang.String id)
Set the id.- Parameters:
id- the id- Returns:
- the Catalog builder
-
rev
public Catalog.Builder rev(java.lang.String rev)
Set the rev.- Parameters:
rev- the rev- Returns:
- the Catalog builder
-
label
public Catalog.Builder label(java.lang.String label)
Set the label.- Parameters:
label- the label- Returns:
- the Catalog builder
-
shortDescription
public Catalog.Builder shortDescription(java.lang.String shortDescription)
Set the shortDescription.- Parameters:
shortDescription- the shortDescription- Returns:
- the Catalog builder
-
catalogIconUrl
public Catalog.Builder catalogIconUrl(java.lang.String catalogIconUrl)
Set the catalogIconUrl.- Parameters:
catalogIconUrl- the catalogIconUrl- Returns:
- the Catalog builder
-
tags
public Catalog.Builder tags(java.util.List<java.lang.String> tags)
Set the tags. Existing tags will be replaced.- Parameters:
tags- the tags- Returns:
- the Catalog builder
-
features
public Catalog.Builder features(java.util.List<Feature> features)
Set the features. Existing features will be replaced.- Parameters:
features- the features- Returns:
- the Catalog builder
-
disabled
public Catalog.Builder disabled(java.lang.Boolean disabled)
Set the disabled.- Parameters:
disabled- the disabled- Returns:
- the Catalog builder
-
resourceGroupId
public Catalog.Builder resourceGroupId(java.lang.String resourceGroupId)
Set the resourceGroupId.- Parameters:
resourceGroupId- the resourceGroupId- Returns:
- the Catalog builder
-
owningAccount
public Catalog.Builder owningAccount(java.lang.String owningAccount)
Set the owningAccount.- Parameters:
owningAccount- the owningAccount- Returns:
- the Catalog builder
-
catalogFilters
public Catalog.Builder catalogFilters(Filters catalogFilters)
Set the catalogFilters.- Parameters:
catalogFilters- the catalogFilters- Returns:
- the Catalog builder
-
syndicationSettings
public Catalog.Builder syndicationSettings(SyndicationResource syndicationSettings)
Set the syndicationSettings.- Parameters:
syndicationSettings- the syndicationSettings- Returns:
- the Catalog builder
-
kind
public Catalog.Builder kind(java.lang.String kind)
Set the kind.- Parameters:
kind- the kind- Returns:
- the Catalog builder
-
-