Class Deployment.Builder
- java.lang.Object
-
- com.ibm.cloud.platform_services.catalog_management.v1.model.Deployment.Builder
-
- Enclosing class:
- Deployment
public static class Deployment.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 Deployment.BuilderaddTags(java.lang.String tags)Adds an tags to tags.Deploymentbuild()Builds a Deployment.Deployment.Buildercreated(java.util.Date created)Set the created.Deployment.Builderid(java.lang.String id)Set the id.Deployment.Builderlabel(java.lang.String label)Set the label.Deployment.BuilderlongDescription(java.lang.String longDescription)Set the longDescription.Deployment.Buildermetadata(java.util.Map<java.lang.String,java.lang.Object> metadata)Set the metadata.Deployment.Buildername(java.lang.String name)Set the name.Deployment.BuildershortDescription(java.lang.String shortDescription)Set the shortDescription.Deployment.Buildertags(java.util.List<java.lang.String> tags)Set the tags.Deployment.Builderupdated(java.util.Date updated)Set the updated.
-
-
-
Method Detail
-
build
public Deployment build()
Builds a Deployment.- Returns:
- the new Deployment instance
-
addTags
public Deployment.Builder addTags(java.lang.String tags)
Adds an tags to tags.- Parameters:
tags- the new tags- Returns:
- the Deployment builder
-
id
public Deployment.Builder id(java.lang.String id)
Set the id.- Parameters:
id- the id- Returns:
- the Deployment builder
-
label
public Deployment.Builder label(java.lang.String label)
Set the label.- Parameters:
label- the label- Returns:
- the Deployment builder
-
name
public Deployment.Builder name(java.lang.String name)
Set the name.- Parameters:
name- the name- Returns:
- the Deployment builder
-
shortDescription
public Deployment.Builder shortDescription(java.lang.String shortDescription)
Set the shortDescription.- Parameters:
shortDescription- the shortDescription- Returns:
- the Deployment builder
-
longDescription
public Deployment.Builder longDescription(java.lang.String longDescription)
Set the longDescription.- Parameters:
longDescription- the longDescription- Returns:
- the Deployment builder
-
metadata
public Deployment.Builder metadata(java.util.Map<java.lang.String,java.lang.Object> metadata)
Set the metadata.- Parameters:
metadata- the metadata- Returns:
- the Deployment builder
-
tags
public Deployment.Builder tags(java.util.List<java.lang.String> tags)
Set the tags. Existing tags will be replaced.- Parameters:
tags- the tags- Returns:
- the Deployment builder
-
created
public Deployment.Builder created(java.util.Date created)
Set the created.- Parameters:
created- the created- Returns:
- the Deployment builder
-
updated
public Deployment.Builder updated(java.util.Date updated)
Set the updated.- Parameters:
updated- the updated- Returns:
- the Deployment builder
-
-