Class WorkloadClassifierProperties


  • public final class WorkloadClassifierProperties
    extends Object
    Workload classifier definition. For more information look at sys.workload_management_workload_classifiers (DMV).
    • Constructor Detail

      • WorkloadClassifierProperties

        public WorkloadClassifierProperties()
    • 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.