Class CreateCatalogEntryOptions.Builder
- java.lang.Object
-
- com.ibm.cloud.platform_services.global_catalog.v1.model.CreateCatalogEntryOptions.Builder
-
- Enclosing class:
- CreateCatalogEntryOptions
public static class CreateCatalogEntryOptions.Builder extends java.lang.ObjectBuilder.
-
-
Constructor Summary
Constructors Constructor Description Builder()Instantiates a new builder.Builder(java.lang.String name, java.lang.String kind, java.util.Map<java.lang.String,Overview> overviewUi, Image images, java.lang.Boolean disabled, java.util.List<java.lang.String> tags, Provider provider, java.lang.String id)Instantiates a new builder with required properties.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CreateCatalogEntryOptions.Builderaccount(java.lang.String account)Set the account.CreateCatalogEntryOptions.Builderactive(java.lang.Boolean active)Set the active.CreateCatalogEntryOptions.BuilderaddTags(java.lang.String tags)Adds a new element to tags.CreateCatalogEntryOptionsbuild()Builds a CreateCatalogEntryOptions.CreateCatalogEntryOptions.Builderdisabled(java.lang.Boolean disabled)Set the disabled.CreateCatalogEntryOptions.Buildergroup(java.lang.Boolean group)Set the group.CreateCatalogEntryOptions.Builderid(java.lang.String id)Set the id.CreateCatalogEntryOptions.Builderimages(Image images)Set the images.CreateCatalogEntryOptions.Builderkind(java.lang.String kind)Set the kind.CreateCatalogEntryOptions.Buildermetadata(ObjectMetadataSet metadata)Set the metadata.CreateCatalogEntryOptions.Buildername(java.lang.String name)Set the name.CreateCatalogEntryOptions.BuilderoverviewUi(java.util.Map<java.lang.String,Overview> overviewUi)Set the overviewUi.CreateCatalogEntryOptions.BuilderparentId(java.lang.String parentId)Set the parentId.CreateCatalogEntryOptions.Builderprovider(Provider provider)Set the provider.CreateCatalogEntryOptions.Buildertags(java.util.List<java.lang.String> tags)Set the tags.CreateCatalogEntryOptions.Builderurl(java.lang.String url)Set the url.
-
-
-
Constructor Detail
-
Builder
public Builder()
Instantiates a new builder.
-
Builder
public Builder(java.lang.String name, java.lang.String kind, java.util.Map<java.lang.String,Overview> overviewUi, Image images, java.lang.Boolean disabled, java.util.List<java.lang.String> tags, Provider provider, java.lang.String id)Instantiates a new builder with required properties.- Parameters:
name- the namekind- the kindoverviewUi- the overviewUiimages- the imagesdisabled- the disabledtags- the tagsprovider- the providerid- the id
-
-
Method Detail
-
build
public CreateCatalogEntryOptions build()
Builds a CreateCatalogEntryOptions.- Returns:
- the new CreateCatalogEntryOptions instance
-
addTags
public CreateCatalogEntryOptions.Builder addTags(java.lang.String tags)
Adds a new element to tags.- Parameters:
tags- the new element to be added- Returns:
- the CreateCatalogEntryOptions builder
-
name
public CreateCatalogEntryOptions.Builder name(java.lang.String name)
Set the name.- Parameters:
name- the name- Returns:
- the CreateCatalogEntryOptions builder
-
kind
public CreateCatalogEntryOptions.Builder kind(java.lang.String kind)
Set the kind.- Parameters:
kind- the kind- Returns:
- the CreateCatalogEntryOptions builder
-
overviewUi
public CreateCatalogEntryOptions.Builder overviewUi(java.util.Map<java.lang.String,Overview> overviewUi)
Set the overviewUi.- Parameters:
overviewUi- the overviewUi- Returns:
- the CreateCatalogEntryOptions builder
-
images
public CreateCatalogEntryOptions.Builder images(Image images)
Set the images.- Parameters:
images- the images- Returns:
- the CreateCatalogEntryOptions builder
-
disabled
public CreateCatalogEntryOptions.Builder disabled(java.lang.Boolean disabled)
Set the disabled.- Parameters:
disabled- the disabled- Returns:
- the CreateCatalogEntryOptions builder
-
tags
public CreateCatalogEntryOptions.Builder tags(java.util.List<java.lang.String> tags)
Set the tags. Existing tags will be replaced.- Parameters:
tags- the tags- Returns:
- the CreateCatalogEntryOptions builder
-
provider
public CreateCatalogEntryOptions.Builder provider(Provider provider)
Set the provider.- Parameters:
provider- the provider- Returns:
- the CreateCatalogEntryOptions builder
-
id
public CreateCatalogEntryOptions.Builder id(java.lang.String id)
Set the id.- Parameters:
id- the id- Returns:
- the CreateCatalogEntryOptions builder
-
parentId
public CreateCatalogEntryOptions.Builder parentId(java.lang.String parentId)
Set the parentId.- Parameters:
parentId- the parentId- Returns:
- the CreateCatalogEntryOptions builder
-
group
public CreateCatalogEntryOptions.Builder group(java.lang.Boolean group)
Set the group.- Parameters:
group- the group- Returns:
- the CreateCatalogEntryOptions builder
-
active
public CreateCatalogEntryOptions.Builder active(java.lang.Boolean active)
Set the active.- Parameters:
active- the active- Returns:
- the CreateCatalogEntryOptions builder
-
url
public CreateCatalogEntryOptions.Builder url(java.lang.String url)
Set the url.- Parameters:
url- the url- Returns:
- the CreateCatalogEntryOptions builder
-
metadata
public CreateCatalogEntryOptions.Builder metadata(ObjectMetadataSet metadata)
Set the metadata.- Parameters:
metadata- the metadata- Returns:
- the CreateCatalogEntryOptions builder
-
account
public CreateCatalogEntryOptions.Builder account(java.lang.String account)
Set the account.- Parameters:
account- the account- Returns:
- the CreateCatalogEntryOptions builder
-
-