Package com.oracle.bmc.cims.model
Class ServiceCategory.Builder
- java.lang.Object
-
- com.oracle.bmc.cims.model.ServiceCategory.Builder
-
- Enclosing class:
- ServiceCategory
public static class ServiceCategory.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ServiceCategory
build()
ServiceCategory.Builder
copy(ServiceCategory model)
ServiceCategory.Builder
description(String description)
The text describing the classifier.ServiceCategory.Builder
issueTypeList(List<IssueType> issueTypeList)
The list of issues.ServiceCategory.Builder
key(String key)
The unique ID that identifies a classifier.ServiceCategory.Builder
label(String label)
The label for the classifier.ServiceCategory.Builder
limitId(String limitId)
The unique ID for the limit.ServiceCategory.Builder
name(String name)
The name of the classifier.ServiceCategory.Builder
scope(Scope scope)
The scope of the incident.ServiceCategory.Builder
supportedSubscriptions(List<String> supportedSubscriptions)
List of supported subscriptionsServiceCategory.Builder
unit(Unit unit)
The unit to use to measure the service category or resource.
-
-
-
Method Detail
-
key
public ServiceCategory.Builder key(String key)
The unique ID that identifies a classifier.- Parameters:
key
- the value to set- Returns:
- this builder
-
name
public ServiceCategory.Builder name(String name)
The name of the classifier.- Parameters:
name
- the value to set- Returns:
- this builder
-
label
public ServiceCategory.Builder label(String label)
The label for the classifier.- Parameters:
label
- the value to set- Returns:
- this builder
-
description
public ServiceCategory.Builder description(String description)
The text describing the classifier.- Parameters:
description
- the value to set- Returns:
- this builder
-
issueTypeList
public ServiceCategory.Builder issueTypeList(List<IssueType> issueTypeList)
The list of issues.- Parameters:
issueTypeList
- the value to set- Returns:
- this builder
-
supportedSubscriptions
public ServiceCategory.Builder supportedSubscriptions(List<String> supportedSubscriptions)
List of supported subscriptions- Parameters:
supportedSubscriptions
- the value to set- Returns:
- this builder
-
scope
public ServiceCategory.Builder scope(Scope scope)
The scope of the incident.- Parameters:
scope
- the value to set- Returns:
- this builder
-
unit
public ServiceCategory.Builder unit(Unit unit)
The unit to use to measure the service category or resource.- Parameters:
unit
- the value to set- Returns:
- this builder
-
limitId
public ServiceCategory.Builder limitId(String limitId)
The unique ID for the limit.- Parameters:
limitId
- the value to set- Returns:
- this builder
-
build
public ServiceCategory build()
-
copy
public ServiceCategory.Builder copy(ServiceCategory model)
-
-