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