WorkloadClassifierProperties Class
- java.
lang. Object - com.
azure. resourcemanager. sql. fluent. models. WorkloadClassifierProperties
- com.
Implements
public final class WorkloadClassifierProperties
implements JsonSerializable<WorkloadClassifierProperties>
Workload classifier definition. For more information look at sys.workload_management_workload_classifiers (DMV).
Constructor Summary
| Constructor | Description |
|---|---|
| WorkloadClassifierProperties() |
Creates an instance of Workload |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| String |
context()
Get the context property: The workload classifier context. |
| String |
endTime()
Get the end |
|
static
Workload |
fromJson(JsonReader jsonReader)
Reads an instance of Workload |
| String |
importance()
Get the importance property: The workload classifier importance. |
| String |
label()
Get the label property: The workload classifier label. |
| String |
memberName()
Get the member |
| String |
startTime()
Get the start |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Workload |
withContext(String context)
Set the context property: The workload classifier context. |
|
Workload |
withEndTime(String endTime)
Set the end |
|
Workload |
withImportance(String importance)
Set the importance property: The workload classifier importance. |
|
Workload |
withLabel(String label)
Set the label property: The workload classifier label. |
|
Workload |
withMemberName(String memberName)
Set the member |
|
Workload |
withStartTime(String startTime)
Set the start |
Methods inherited from java.lang.Object
Constructor Details
WorkloadClassifierProperties
public WorkloadClassifierProperties()
Creates an instance of WorkloadClassifierProperties class.
Method Details
context
public String context()
Get the context property: The workload classifier context.
Returns:
endTime
public String endTime()
Get the endTime property: The workload classifier end time for classification.
Returns:
fromJson
public static WorkloadClassifierProperties fromJson(JsonReader jsonReader)
Reads an instance of WorkloadClassifierProperties from the JsonReader.
Parameters:
Returns:
Throws:
importance
public String importance()
Get the importance property: The workload classifier importance.
Returns:
label
public String label()
Get the label property: The workload classifier label.
Returns:
memberName
public String memberName()
Get the memberName property: The workload classifier member name.
Returns:
startTime
public String startTime()
Get the startTime property: The workload classifier start time for classification.
Returns:
toJson
validate
public void validate()
Validates the instance.
withContext
public WorkloadClassifierProperties withContext(String context)
Set the context property: The workload classifier context.
Parameters:
Returns:
withEndTime
public WorkloadClassifierProperties withEndTime(String endTime)
Set the endTime property: The workload classifier end time for classification.
Parameters:
Returns:
withImportance
public WorkloadClassifierProperties withImportance(String importance)
Set the importance property: The workload classifier importance.
Parameters:
Returns:
withLabel
public WorkloadClassifierProperties withLabel(String label)
Set the label property: The workload classifier label.
Parameters:
Returns:
withMemberName
public WorkloadClassifierProperties withMemberName(String memberName)
Set the memberName property: The workload classifier member name.
Parameters:
Returns:
withStartTime
public WorkloadClassifierProperties withStartTime(String startTime)
Set the startTime property: The workload classifier start time for classification.
Parameters:
Returns: