Package com.oracle.bmc.cims.model
Class Classifier.Builder
- java.lang.Object
-
- com.oracle.bmc.cims.model.Classifier.Builder
-
- Enclosing class:
- Classifier
public static class Classifier.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Classifier
build()
Classifier.Builder
copy(Classifier model)
Classifier.Builder
description(String description)
The description of the classifier.Classifier.Builder
id(String id)
Unique identifier of the classifier.Classifier.Builder
issueTypeList(List<IssueType> issueTypeList)
The list of issues.Classifier.Builder
label(String label)
The label associated with the classifier.Classifier.Builder
name(String name)
The display name of the classifier.Classifier.Builder
scope(Classifier.Scope scope)
The scope of the service category or resource.Classifier.Builder
unit(Classifier.Unit unit)
The unit to use to measure the service category or resource.
-
-
-
Method Detail
-
id
public Classifier.Builder id(String id)
Unique identifier of the classifier.- Parameters:
id
- the value to set- Returns:
- this builder
-
name
public Classifier.Builder name(String name)
The display name of the classifier.- Parameters:
name
- the value to set- Returns:
- this builder
-
label
public Classifier.Builder label(String label)
The label associated with the classifier.- Parameters:
label
- the value to set- Returns:
- this builder
-
description
public Classifier.Builder description(String description)
The description of the classifier.- Parameters:
description
- the value to set- Returns:
- this builder
-
issueTypeList
public Classifier.Builder issueTypeList(List<IssueType> issueTypeList)
The list of issues.- Parameters:
issueTypeList
- the value to set- Returns:
- this builder
-
scope
public Classifier.Builder scope(Classifier.Scope scope)
The scope of the service category or resource.- Parameters:
scope
- the value to set- Returns:
- this builder
-
unit
public Classifier.Builder unit(Classifier.Unit unit)
The unit to use to measure the service category or resource.- Parameters:
unit
- the value to set- Returns:
- this builder
-
build
public Classifier build()
-
copy
public Classifier.Builder copy(Classifier model)
-
-