Class WorkloadClassifierProperties
- java.lang.Object
-
- com.azure.resourcemanager.synapse.fluent.models.WorkloadClassifierProperties
-
public final class WorkloadClassifierProperties extends Object
Workload classifier definition. For more information look at sys.workload_management_workload_classifiers (DMV).
-
-
Constructor Summary
Constructors Constructor Description WorkloadClassifierProperties()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
context()
Get the context property: The workload classifier context.String
endTime()
Get the endTime property: The workload classifier end time for classification.String
importance()
Get the importance property: The workload classifier importance.String
label()
Get the label property: The workload classifier label.String
memberName()
Get the memberName property: The workload classifier member name.String
startTime()
Get the startTime property: The workload classifier start time for classification.void
validate()
Validates the instance.WorkloadClassifierProperties
withContext(String context)
Set the context property: The workload classifier context.WorkloadClassifierProperties
withEndTime(String endTime)
Set the endTime property: The workload classifier end time for classification.WorkloadClassifierProperties
withImportance(String importance)
Set the importance property: The workload classifier importance.WorkloadClassifierProperties
withLabel(String label)
Set the label property: The workload classifier label.WorkloadClassifierProperties
withMemberName(String memberName)
Set the memberName property: The workload classifier member name.WorkloadClassifierProperties
withStartTime(String startTime)
Set the startTime property: The workload classifier start time for classification.
-
-
-
Method Detail
-
memberName
public String memberName()
Get the memberName property: The workload classifier member name.- Returns:
- the memberName value.
-
withMemberName
public WorkloadClassifierProperties withMemberName(String memberName)
Set the memberName property: The workload classifier member name.- Parameters:
memberName
- the memberName value to set.- Returns:
- the WorkloadClassifierProperties object itself.
-
label
public String label()
Get the label property: The workload classifier label.- Returns:
- the label value.
-
withLabel
public WorkloadClassifierProperties withLabel(String label)
Set the label property: The workload classifier label.- Parameters:
label
- the label value to set.- Returns:
- the WorkloadClassifierProperties object itself.
-
context
public String context()
Get the context property: The workload classifier context.- Returns:
- the context value.
-
withContext
public WorkloadClassifierProperties withContext(String context)
Set the context property: The workload classifier context.- Parameters:
context
- the context value to set.- Returns:
- the WorkloadClassifierProperties object itself.
-
startTime
public String startTime()
Get the startTime property: The workload classifier start time for classification.- Returns:
- the startTime value.
-
withStartTime
public WorkloadClassifierProperties withStartTime(String startTime)
Set the startTime property: The workload classifier start time for classification.- Parameters:
startTime
- the startTime value to set.- Returns:
- the WorkloadClassifierProperties object itself.
-
endTime
public String endTime()
Get the endTime property: The workload classifier end time for classification.- Returns:
- the endTime value.
-
withEndTime
public WorkloadClassifierProperties withEndTime(String endTime)
Set the endTime property: The workload classifier end time for classification.- Parameters:
endTime
- the endTime value to set.- Returns:
- the WorkloadClassifierProperties object itself.
-
importance
public String importance()
Get the importance property: The workload classifier importance.- Returns:
- the importance value.
-
withImportance
public WorkloadClassifierProperties withImportance(String importance)
Set the importance property: The workload classifier importance.- Parameters:
importance
- the importance value to set.- Returns:
- the WorkloadClassifierProperties object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-