public static class ServiceCategory.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and 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 subscriptions
|
ServiceCategory.Builder |
unit(Unit unit)
The unit to use to measure the service category or resource.
|
public ServiceCategory.Builder key(String key)
The unique ID that identifies a classifier.
key
- the value to setpublic ServiceCategory.Builder name(String name)
The name of the classifier.
name
- the value to setpublic ServiceCategory.Builder label(String label)
The label for the classifier.
label
- the value to setpublic ServiceCategory.Builder description(String description)
The text describing the classifier.
description
- the value to setpublic ServiceCategory.Builder issueTypeList(List<IssueType> issueTypeList)
The list of issues.
issueTypeList
- the value to setpublic ServiceCategory.Builder supportedSubscriptions(List<String> supportedSubscriptions)
List of supported subscriptions
supportedSubscriptions
- the value to setpublic ServiceCategory.Builder scope(Scope scope)
The scope of the incident.
scope
- the value to setpublic ServiceCategory.Builder unit(Unit unit)
The unit to use to measure the service category or resource.
unit
- the value to setpublic ServiceCategory.Builder limitId(String limitId)
The unique ID for the limit.
limitId
- the value to setpublic ServiceCategory build()
public ServiceCategory.Builder copy(ServiceCategory model)
Copyright © 2016–2024. All rights reserved.