Class CreateCatalogOptions.Builder
- java.lang.Object
-
- com.ibm.cloud.platform_services.catalog_management.v1.model.CreateCatalogOptions.Builder
-
- Enclosing class:
- CreateCatalogOptions
public static class CreateCatalogOptions.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 CreateCatalogOptions.BuilderaddFeatures(Feature features)Adds an features to features.CreateCatalogOptions.BuilderaddTags(java.lang.String tags)Adds an tags to tags.CreateCatalogOptionsbuild()Builds a CreateCatalogOptions.CreateCatalogOptions.Buildercatalog(Catalog catalog)Set the catalog.CreateCatalogOptions.BuildercatalogFilters(Filters catalogFilters)Set the catalogFilters.CreateCatalogOptions.BuildercatalogIconUrl(java.lang.String catalogIconUrl)Set the catalogIconUrl.CreateCatalogOptions.Builderdisabled(java.lang.Boolean disabled)Set the disabled.CreateCatalogOptions.Builderfeatures(java.util.List<Feature> features)Set the features.CreateCatalogOptions.Builderid(java.lang.String id)Set the id.CreateCatalogOptions.Builderkind(java.lang.String kind)Set the kind.CreateCatalogOptions.Builderlabel(java.lang.String label)Set the label.CreateCatalogOptions.BuilderowningAccount(java.lang.String owningAccount)Set the owningAccount.CreateCatalogOptions.BuilderresourceGroupId(java.lang.String resourceGroupId)Set the resourceGroupId.CreateCatalogOptions.Builderrev(java.lang.String rev)Set the rev.CreateCatalogOptions.BuildershortDescription(java.lang.String shortDescription)Set the shortDescription.CreateCatalogOptions.BuildersyndicationSettings(SyndicationResource syndicationSettings)Set the syndicationSettings.CreateCatalogOptions.Buildertags(java.util.List<java.lang.String> tags)Set the tags.
-
-
-
Method Detail
-
build
public CreateCatalogOptions build()
Builds a CreateCatalogOptions.- Returns:
- the new CreateCatalogOptions instance
-
addTags
public CreateCatalogOptions.Builder addTags(java.lang.String tags)
Adds an tags to tags.- Parameters:
tags- the new tags- Returns:
- the CreateCatalogOptions builder
-
addFeatures
public CreateCatalogOptions.Builder addFeatures(Feature features)
Adds an features to features.- Parameters:
features- the new features- Returns:
- the CreateCatalogOptions builder
-
id
public CreateCatalogOptions.Builder id(java.lang.String id)
Set the id.- Parameters:
id- the id- Returns:
- the CreateCatalogOptions builder
-
rev
public CreateCatalogOptions.Builder rev(java.lang.String rev)
Set the rev.- Parameters:
rev- the rev- Returns:
- the CreateCatalogOptions builder
-
label
public CreateCatalogOptions.Builder label(java.lang.String label)
Set the label.- Parameters:
label- the label- Returns:
- the CreateCatalogOptions builder
-
shortDescription
public CreateCatalogOptions.Builder shortDescription(java.lang.String shortDescription)
Set the shortDescription.- Parameters:
shortDescription- the shortDescription- Returns:
- the CreateCatalogOptions builder
-
catalogIconUrl
public CreateCatalogOptions.Builder catalogIconUrl(java.lang.String catalogIconUrl)
Set the catalogIconUrl.- Parameters:
catalogIconUrl- the catalogIconUrl- Returns:
- the CreateCatalogOptions builder
-
tags
public CreateCatalogOptions.Builder tags(java.util.List<java.lang.String> tags)
Set the tags. Existing tags will be replaced.- Parameters:
tags- the tags- Returns:
- the CreateCatalogOptions builder
-
features
public CreateCatalogOptions.Builder features(java.util.List<Feature> features)
Set the features. Existing features will be replaced.- Parameters:
features- the features- Returns:
- the CreateCatalogOptions builder
-
disabled
public CreateCatalogOptions.Builder disabled(java.lang.Boolean disabled)
Set the disabled.- Parameters:
disabled- the disabled- Returns:
- the CreateCatalogOptions builder
-
resourceGroupId
public CreateCatalogOptions.Builder resourceGroupId(java.lang.String resourceGroupId)
Set the resourceGroupId.- Parameters:
resourceGroupId- the resourceGroupId- Returns:
- the CreateCatalogOptions builder
-
owningAccount
public CreateCatalogOptions.Builder owningAccount(java.lang.String owningAccount)
Set the owningAccount.- Parameters:
owningAccount- the owningAccount- Returns:
- the CreateCatalogOptions builder
-
catalogFilters
public CreateCatalogOptions.Builder catalogFilters(Filters catalogFilters)
Set the catalogFilters.- Parameters:
catalogFilters- the catalogFilters- Returns:
- the CreateCatalogOptions builder
-
syndicationSettings
public CreateCatalogOptions.Builder syndicationSettings(SyndicationResource syndicationSettings)
Set the syndicationSettings.- Parameters:
syndicationSettings- the syndicationSettings- Returns:
- the CreateCatalogOptions builder
-
kind
public CreateCatalogOptions.Builder kind(java.lang.String kind)
Set the kind.- Parameters:
kind- the kind- Returns:
- the CreateCatalogOptions builder
-
catalog
public CreateCatalogOptions.Builder catalog(Catalog catalog)
Set the catalog.- Parameters:
catalog- the catalog- Returns:
- the CreateCatalogOptions builder
-
-