@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AssessmentRunFilter extends Object implements Serializable, Cloneable, StructuredPojo
Used as the request parameter in the ListAssessmentRuns action.
Constructor and Description |
---|
AssessmentRunFilter() |
Modifier and Type | Method and Description |
---|---|
AssessmentRunFilter |
clone() |
boolean |
equals(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.
|
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.
|
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.
|
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.
|
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.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
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(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(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.
|
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(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.
|
String |
toString()
Returns a string representation of this object.
|
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(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(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.
|
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.
|
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(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.
|
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.
|
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.
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 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(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 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.
AssessmentRunState
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.
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(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(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.
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 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.
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.
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(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(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.
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 String toString()
toString
in class Object
Object.toString()
public AssessmentRunFilter clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.