Class CreateObjectOptions.Builder
- java.lang.Object
-
- com.ibm.cloud.platform_services.catalog_management.v1.model.CreateObjectOptions.Builder
-
- Enclosing class:
- CreateObjectOptions
public static class CreateObjectOptions.Builder extends java.lang.ObjectBuilder.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CreateObjectOptions.BuilderaddTags(java.lang.String tags)Adds an tags to tags.CreateObjectOptionsbuild()Builds a CreateObjectOptions.CreateObjectOptions.BuildercatalogId(java.lang.String catalogId)Set the catalogId.CreateObjectOptions.BuildercatalogIdentifier(java.lang.String catalogIdentifier)Set the catalogIdentifier.CreateObjectOptions.BuildercatalogName(java.lang.String catalogName)Set the catalogName.CreateObjectOptions.BuildercatalogObject(CatalogObject catalogObject)Set the catalogObject.CreateObjectOptions.Buildercreated(java.util.Date created)Set the created.CreateObjectOptions.Buildercrn(java.lang.String crn)Set the crn.CreateObjectOptions.Builderdata(java.util.Map<java.lang.String,java.lang.Object> data)Set the data.CreateObjectOptions.Builderid(java.lang.String id)Set the id.CreateObjectOptions.Builderkind(java.lang.String kind)Set the kind.CreateObjectOptions.Builderlabel(java.lang.String label)Set the label.CreateObjectOptions.BuilderlabelI18n(java.lang.String labelI18n)Set the labelI18n.CreateObjectOptions.Buildername(java.lang.String name)Set the name.CreateObjectOptions.BuilderparentId(java.lang.String parentId)Set the parentId.CreateObjectOptions.Builderpublish(PublishObject publish)Set the publish.CreateObjectOptions.Builderrev(java.lang.String rev)Set the rev.CreateObjectOptions.BuildershortDescription(java.lang.String shortDescription)Set the shortDescription.CreateObjectOptions.BuildershortDescriptionI18n(java.lang.String shortDescriptionI18n)Set the shortDescriptionI18n.CreateObjectOptions.Builderstate(State state)Set the state.CreateObjectOptions.Buildertags(java.util.List<java.lang.String> tags)Set the tags.CreateObjectOptions.Builderupdated(java.util.Date updated)Set the updated.CreateObjectOptions.Builderurl(java.lang.String url)Set the url.
-
-
-
Method Detail
-
build
public CreateObjectOptions build()
Builds a CreateObjectOptions.- Returns:
- the new CreateObjectOptions instance
-
addTags
public CreateObjectOptions.Builder addTags(java.lang.String tags)
Adds an tags to tags.- Parameters:
tags- the new tags- Returns:
- the CreateObjectOptions builder
-
catalogIdentifier
public CreateObjectOptions.Builder catalogIdentifier(java.lang.String catalogIdentifier)
Set the catalogIdentifier.- Parameters:
catalogIdentifier- the catalogIdentifier- Returns:
- the CreateObjectOptions builder
-
id
public CreateObjectOptions.Builder id(java.lang.String id)
Set the id.- Parameters:
id- the id- Returns:
- the CreateObjectOptions builder
-
name
public CreateObjectOptions.Builder name(java.lang.String name)
Set the name.- Parameters:
name- the name- Returns:
- the CreateObjectOptions builder
-
rev
public CreateObjectOptions.Builder rev(java.lang.String rev)
Set the rev.- Parameters:
rev- the rev- Returns:
- the CreateObjectOptions builder
-
crn
public CreateObjectOptions.Builder crn(java.lang.String crn)
Set the crn.- Parameters:
crn- the crn- Returns:
- the CreateObjectOptions builder
-
url
public CreateObjectOptions.Builder url(java.lang.String url)
Set the url.- Parameters:
url- the url- Returns:
- the CreateObjectOptions builder
-
parentId
public CreateObjectOptions.Builder parentId(java.lang.String parentId)
Set the parentId.- Parameters:
parentId- the parentId- Returns:
- the CreateObjectOptions builder
-
labelI18n
public CreateObjectOptions.Builder labelI18n(java.lang.String labelI18n)
Set the labelI18n.- Parameters:
labelI18n- the labelI18n- Returns:
- the CreateObjectOptions builder
-
label
public CreateObjectOptions.Builder label(java.lang.String label)
Set the label.- Parameters:
label- the label- Returns:
- the CreateObjectOptions builder
-
tags
public CreateObjectOptions.Builder tags(java.util.List<java.lang.String> tags)
Set the tags. Existing tags will be replaced.- Parameters:
tags- the tags- Returns:
- the CreateObjectOptions builder
-
created
public CreateObjectOptions.Builder created(java.util.Date created)
Set the created.- Parameters:
created- the created- Returns:
- the CreateObjectOptions builder
-
updated
public CreateObjectOptions.Builder updated(java.util.Date updated)
Set the updated.- Parameters:
updated- the updated- Returns:
- the CreateObjectOptions builder
-
shortDescription
public CreateObjectOptions.Builder shortDescription(java.lang.String shortDescription)
Set the shortDescription.- Parameters:
shortDescription- the shortDescription- Returns:
- the CreateObjectOptions builder
-
shortDescriptionI18n
public CreateObjectOptions.Builder shortDescriptionI18n(java.lang.String shortDescriptionI18n)
Set the shortDescriptionI18n.- Parameters:
shortDescriptionI18n- the shortDescriptionI18n- Returns:
- the CreateObjectOptions builder
-
kind
public CreateObjectOptions.Builder kind(java.lang.String kind)
Set the kind.- Parameters:
kind- the kind- Returns:
- the CreateObjectOptions builder
-
publish
public CreateObjectOptions.Builder publish(PublishObject publish)
Set the publish.- Parameters:
publish- the publish- Returns:
- the CreateObjectOptions builder
-
state
public CreateObjectOptions.Builder state(State state)
Set the state.- Parameters:
state- the state- Returns:
- the CreateObjectOptions builder
-
catalogId
public CreateObjectOptions.Builder catalogId(java.lang.String catalogId)
Set the catalogId.- Parameters:
catalogId- the catalogId- Returns:
- the CreateObjectOptions builder
-
catalogName
public CreateObjectOptions.Builder catalogName(java.lang.String catalogName)
Set the catalogName.- Parameters:
catalogName- the catalogName- Returns:
- the CreateObjectOptions builder
-
data
public CreateObjectOptions.Builder data(java.util.Map<java.lang.String,java.lang.Object> data)
Set the data.- Parameters:
data- the data- Returns:
- the CreateObjectOptions builder
-
catalogObject
public CreateObjectOptions.Builder catalogObject(CatalogObject catalogObject)
Set the catalogObject.- Parameters:
catalogObject- the catalogObject- Returns:
- the CreateObjectOptions builder
-
-