public class AssessmentRunFilter
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Used as the request parameter in the ListAssessmentRuns action.
Modifier and Type | Field and Description |
---|---|
private 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.
|
private 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.
|
private java.lang.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.
|
private java.util.List<java.lang.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.
|
private 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.
|
private 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.
|
private java.util.List<java.lang.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.
|
Constructor and Description |
---|
AssessmentRunFilter() |
Modifier and Type | Method and Description |
---|---|
AssessmentRunFilter |
clone() |
boolean |
equals(java.lang.Object obj) |
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.
|
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.
|
java.lang.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.
|
java.util.List<java.lang.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.
|
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.
|
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.
|
java.util.List<java.lang.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.
|
int |
hashCode() |
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.
|
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.
|
void |
setNamePattern(java.lang.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 |
setRulesPackageArns(java.util.Collection<java.lang.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.
|
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.
|
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.
|
void |
setStates(java.util.Collection<java.lang.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.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
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.
|
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.
|
AssessmentRunFilter |
withNamePattern(java.lang.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.
|
AssessmentRunFilter |
withRulesPackageArns(java.util.Collection<java.lang.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.
|
AssessmentRunFilter |
withRulesPackageArns(java.lang.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.
|
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.
|
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.
|
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.
|
AssessmentRunFilter |
withStates(java.util.Collection<java.lang.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.
|
AssessmentRunFilter |
withStates(java.lang.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.
|
private java.lang.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.
private java.util.List<java.lang.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.
private 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.
private java.util.List<java.lang.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.
private 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.
private 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.
private 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.
public void setNamePattern(java.lang.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.
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.public java.lang.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.
public AssessmentRunFilter withNamePattern(java.lang.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.
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.public java.util.List<java.lang.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.
AssessmentRunState
public void setStates(java.util.Collection<java.lang.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.
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.AssessmentRunState
public AssessmentRunFilter withStates(java.lang.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.
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.AssessmentRunState
public AssessmentRunFilter withStates(java.util.Collection<java.lang.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.
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.AssessmentRunState
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.
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.AssessmentRunState
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.
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.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.
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.
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.public java.util.List<java.lang.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.
public void setRulesPackageArns(java.util.Collection<java.lang.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.
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.public AssessmentRunFilter withRulesPackageArns(java.lang.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.
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.public AssessmentRunFilter withRulesPackageArns(java.util.Collection<java.lang.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.
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.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.
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.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.
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.
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.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.
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.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.
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.
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.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.
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.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.
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.
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.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public AssessmentRunFilter clone()
clone
in class java.lang.Object