Class AssessmentRunFilter

java.lang.Object
com.amazonaws.services.inspector.model.AssessmentRunFilter
All Implemented Interfaces:
Serializable, Cloneable

public class AssessmentRunFilter extends Object implements Serializable, Cloneable

Used as the request parameter in the ListAssessmentRuns action.

See Also:
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
     
    boolean
     
    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.
    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.
    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.
    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.
    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.
    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.
    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.
    int
     
    void
    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.
    void
    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.
    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.
    void
    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.
    void
    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.
    void
    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.
    void
    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 a string representation of this object; useful for testing and debugging.
    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.
    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.
    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.
    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.
    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.
    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.
    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.
    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.
    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.
    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.

    Methods inherited from class java.lang.Object

    finalize, getClass, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • AssessmentRunFilter

      public AssessmentRunFilter()
  • Method Details

    • 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:
    • 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:
    • 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:
    • 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:
    • 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:
    • 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:
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • clone

      public AssessmentRunFilter clone()
      Overrides:
      clone in class Object