Class AssessmentRunFilter

    • Constructor Detail

      • AssessmentRunFilter

        public AssessmentRunFilter()
    • Method Detail

      • setNamePattern

        public void setNamePattern​(String namePattern)

        For a record to match a filter, an explicit value or a string containing a wildcard that is specified for this data type property must match the value of the assessmentRunName property of the AssessmentRun data type.

        Parameters:
        namePattern - For a record to match a filter, an explicit value or a string containing a wildcard that is specified for this data type property must match the value of the assessmentRunName property of the AssessmentRun data type.
      • getNamePattern

        public String getNamePattern()

        For a record to match a filter, an explicit value or a string containing a wildcard that is specified for this data type property must match the value of the assessmentRunName property of the AssessmentRun data type.

        Returns:
        For a record to match a filter, an explicit value or a string containing a wildcard that is specified for this data type property must match the value of the assessmentRunName property of the AssessmentRun data type.
      • withNamePattern

        public AssessmentRunFilter withNamePattern​(String namePattern)

        For a record to match a filter, an explicit value or a string containing a wildcard that is specified for this data type property must match the value of the assessmentRunName property of the AssessmentRun data type.

        Parameters:
        namePattern - For a record to match a filter, an explicit value or a string containing a wildcard that is specified for this data type property must match the value of the assessmentRunName property of the AssessmentRun data type.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • getStates

        public List<String> getStates()

        For a record to match a filter, one of the values specified for this data type property must be the exact match of the value of the assessmentRunState property of the AssessmentRun data type.

        Returns:
        For a record to match a filter, one of the values specified for this data type property must be the exact match of the value of the assessmentRunState property of the AssessmentRun data type.
        See Also:
        AssessmentRunState
      • setStates

        public void setStates​(Collection<String> states)

        For a record to match a filter, one of the values specified for this data type property must be the exact match of the value of the assessmentRunState property of the AssessmentRun data type.

        Parameters:
        states - For a record to match a filter, one of the values specified for this data type property must be the exact match of the value of the assessmentRunState property of the AssessmentRun data type.
        See Also:
        AssessmentRunState
      • withStates

        public AssessmentRunFilter withStates​(String... states)

        For a record to match a filter, one of the values specified for this data type property must be the exact match of the value of the assessmentRunState property of the AssessmentRun data type.

        NOTE: This method appends the values to the existing list (if any). Use setStates(java.util.Collection) or withStates(java.util.Collection) if you want to override the existing values.

        Parameters:
        states - For a record to match a filter, one of the values specified for this data type property must be the exact match of the value of the assessmentRunState property of the AssessmentRun data type.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        AssessmentRunState
      • withStates

        public AssessmentRunFilter withStates​(Collection<String> states)

        For a record to match a filter, one of the values specified for this data type property must be the exact match of the value of the assessmentRunState property of the AssessmentRun data type.

        Parameters:
        states - For a record to match a filter, one of the values specified for this data type property must be the exact match of the value of the assessmentRunState property of the AssessmentRun data type.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        AssessmentRunState
      • withStates

        public AssessmentRunFilter withStates​(AssessmentRunState... states)

        For a record to match a filter, one of the values specified for this data type property must be the exact match of the value of the assessmentRunState property of the AssessmentRun data type.

        Parameters:
        states - For a record to match a filter, one of the values specified for this data type property must be the exact match of the value of the assessmentRunState property of the AssessmentRun data type.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        AssessmentRunState
      • setDurationRange

        public void setDurationRange​(DurationRange durationRange)

        For a record to match a filter, the value that is specified for this data type property must inclusively match any value between the specified minimum and maximum values of the durationInSeconds property of the AssessmentRun data type.

        Parameters:
        durationRange - For a record to match a filter, the value that is specified for this data type property must inclusively match any value between the specified minimum and maximum values of the durationInSeconds property of the AssessmentRun data type.
      • getDurationRange

        public DurationRange getDurationRange()

        For a record to match a filter, the value that is specified for this data type property must inclusively match any value between the specified minimum and maximum values of the durationInSeconds property of the AssessmentRun data type.

        Returns:
        For a record to match a filter, the value that is specified for this data type property must inclusively match any value between the specified minimum and maximum values of the durationInSeconds property of the AssessmentRun data type.
      • withDurationRange

        public AssessmentRunFilter withDurationRange​(DurationRange durationRange)

        For a record to match a filter, the value that is specified for this data type property must inclusively match any value between the specified minimum and maximum values of the durationInSeconds property of the AssessmentRun data type.

        Parameters:
        durationRange - For a record to match a filter, the value that is specified for this data type property must inclusively match any value between the specified minimum and maximum values of the durationInSeconds property of the AssessmentRun data type.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • getRulesPackageArns

        public List<String> getRulesPackageArns()

        For a record to match a filter, the value that is specified for this data type property must be contained in the list of values of the rulesPackages property of the AssessmentRun data type.

        Returns:
        For a record to match a filter, the value that is specified for this data type property must be contained in the list of values of the rulesPackages property of the AssessmentRun data type.
      • setRulesPackageArns

        public void setRulesPackageArns​(Collection<String> rulesPackageArns)

        For a record to match a filter, the value that is specified for this data type property must be contained in the list of values of the rulesPackages property of the AssessmentRun data type.

        Parameters:
        rulesPackageArns - For a record to match a filter, the value that is specified for this data type property must be contained in the list of values of the rulesPackages property of the AssessmentRun data type.
      • withRulesPackageArns

        public AssessmentRunFilter withRulesPackageArns​(String... rulesPackageArns)

        For a record to match a filter, the value that is specified for this data type property must be contained in the list of values of the rulesPackages property of the AssessmentRun data type.

        NOTE: This method appends the values to the existing list (if any). Use setRulesPackageArns(java.util.Collection) or withRulesPackageArns(java.util.Collection) if you want to override the existing values.

        Parameters:
        rulesPackageArns - For a record to match a filter, the value that is specified for this data type property must be contained in the list of values of the rulesPackages property of the AssessmentRun data type.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • withRulesPackageArns

        public AssessmentRunFilter withRulesPackageArns​(Collection<String> rulesPackageArns)

        For a record to match a filter, the value that is specified for this data type property must be contained in the list of values of the rulesPackages property of the AssessmentRun data type.

        Parameters:
        rulesPackageArns - For a record to match a filter, the value that is specified for this data type property must be contained in the list of values of the rulesPackages property of the AssessmentRun data type.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setStartTimeRange

        public void setStartTimeRange​(TimestampRange startTimeRange)

        For a record to match a filter, the value that is specified for this data type property must inclusively match any value between the specified minimum and maximum values of the startTime property of the AssessmentRun data type.

        Parameters:
        startTimeRange - For a record to match a filter, the value that is specified for this data type property must inclusively match any value between the specified minimum and maximum values of the startTime property of the AssessmentRun data type.
      • getStartTimeRange

        public TimestampRange getStartTimeRange()

        For a record to match a filter, the value that is specified for this data type property must inclusively match any value between the specified minimum and maximum values of the startTime property of the AssessmentRun data type.

        Returns:
        For a record to match a filter, the value that is specified for this data type property must inclusively match any value between the specified minimum and maximum values of the startTime property of the AssessmentRun data type.
      • withStartTimeRange

        public AssessmentRunFilter withStartTimeRange​(TimestampRange startTimeRange)

        For a record to match a filter, the value that is specified for this data type property must inclusively match any value between the specified minimum and maximum values of the startTime property of the AssessmentRun data type.

        Parameters:
        startTimeRange - For a record to match a filter, the value that is specified for this data type property must inclusively match any value between the specified minimum and maximum values of the startTime property of the AssessmentRun data type.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setCompletionTimeRange

        public void setCompletionTimeRange​(TimestampRange completionTimeRange)

        For a record to match a filter, the value that is specified for this data type property must inclusively match any value between the specified minimum and maximum values of the completedAt property of the AssessmentRun data type.

        Parameters:
        completionTimeRange - For a record to match a filter, the value that is specified for this data type property must inclusively match any value between the specified minimum and maximum values of the completedAt property of the AssessmentRun data type.
      • getCompletionTimeRange

        public TimestampRange getCompletionTimeRange()

        For a record to match a filter, the value that is specified for this data type property must inclusively match any value between the specified minimum and maximum values of the completedAt property of the AssessmentRun data type.

        Returns:
        For a record to match a filter, the value that is specified for this data type property must inclusively match any value between the specified minimum and maximum values of the completedAt property of the AssessmentRun data type.
      • withCompletionTimeRange

        public AssessmentRunFilter withCompletionTimeRange​(TimestampRange completionTimeRange)

        For a record to match a filter, the value that is specified for this data type property must inclusively match any value between the specified minimum and maximum values of the completedAt property of the AssessmentRun data type.

        Parameters:
        completionTimeRange - For a record to match a filter, the value that is specified for this data type property must inclusively match any value between the specified minimum and maximum values of the completedAt property of the AssessmentRun data type.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setStateChangeTimeRange

        public void setStateChangeTimeRange​(TimestampRange stateChangeTimeRange)

        For a record to match a filter, the value that is specified for this data type property must match the stateChangedAt property of the AssessmentRun data type.

        Parameters:
        stateChangeTimeRange - For a record to match a filter, the value that is specified for this data type property must match the stateChangedAt property of the AssessmentRun data type.
      • getStateChangeTimeRange

        public TimestampRange getStateChangeTimeRange()

        For a record to match a filter, the value that is specified for this data type property must match the stateChangedAt property of the AssessmentRun data type.

        Returns:
        For a record to match a filter, the value that is specified for this data type property must match the stateChangedAt property of the AssessmentRun data type.
      • withStateChangeTimeRange

        public AssessmentRunFilter withStateChangeTimeRange​(TimestampRange stateChangeTimeRange)

        For a record to match a filter, the value that is specified for this data type property must match the stateChangedAt property of the AssessmentRun data type.

        Parameters:
        stateChangeTimeRange - For a record to match a filter, the value that is specified for this data type property must match the stateChangedAt property of the AssessmentRun data type.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • toString

        public String toString()
        Returns a string representation of this object; useful for testing and debugging.
        Overrides:
        toString in class Object
        Returns:
        A string representation of this object.
        See Also:
        Object.toString()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object