public class AssessmentTemplateFilter extends Object implements Serializable, Cloneable
Used as the request parameter in the ListAssessmentTemplates action.
Constructor and Description |
---|
AssessmentTemplateFilter() |
Modifier and Type | Method and Description |
---|---|
AssessmentTemplateFilter |
clone() |
boolean |
equals(Object obj) |
DurationRange |
getDurationRange()
For a record to match a filter, the value specified for this data type
property must inclusively match any value between the specified minimum
and maximum values of the durationInSeconds property of the
AssessmentTemplate data type.
|
String |
getNamePattern()
For a record to match a filter, an explicit value or a string that
contains a wildcard that is specified for this data type property must
match the value of the assessmentTemplateName property of the
AssessmentTemplate data type.
|
List<String> |
getRulesPackageArns()
For a record to match a filter, the values that are specified for this
data type property must be contained in the list of values of the
rulesPackageArns property of the AssessmentTemplate data
type.
|
int |
hashCode() |
void |
setDurationRange(DurationRange durationRange)
For a record to match a filter, the value specified for this data type
property must inclusively match any value between the specified minimum
and maximum values of the durationInSeconds property of the
AssessmentTemplate data type.
|
void |
setNamePattern(String namePattern)
For a record to match a filter, an explicit value or a string that
contains a wildcard that is specified for this data type property must
match the value of the assessmentTemplateName property of the
AssessmentTemplate data type.
|
void |
setRulesPackageArns(Collection<String> rulesPackageArns)
For a record to match a filter, the values that are specified for this
data type property must be contained in the list of values of the
rulesPackageArns property of the AssessmentTemplate data
type.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
AssessmentTemplateFilter |
withDurationRange(DurationRange durationRange)
For a record to match a filter, the value specified for this data type
property must inclusively match any value between the specified minimum
and maximum values of the durationInSeconds property of the
AssessmentTemplate data type.
|
AssessmentTemplateFilter |
withNamePattern(String namePattern)
For a record to match a filter, an explicit value or a string that
contains a wildcard that is specified for this data type property must
match the value of the assessmentTemplateName property of the
AssessmentTemplate data type.
|
AssessmentTemplateFilter |
withRulesPackageArns(Collection<String> rulesPackageArns)
For a record to match a filter, the values that are specified for this
data type property must be contained in the list of values of the
rulesPackageArns property of the AssessmentTemplate data
type.
|
AssessmentTemplateFilter |
withRulesPackageArns(String... rulesPackageArns)
For a record to match a filter, the values that are specified for this
data type property must be contained in the list of values of the
rulesPackageArns property of the AssessmentTemplate data
type.
|
public void setNamePattern(String namePattern)
For a record to match a filter, an explicit value or a string that contains a wildcard that is specified for this data type property must match the value of the assessmentTemplateName property of the AssessmentTemplate data type.
namePattern
- For a record to match a filter, an explicit value or a string that
contains a wildcard that is specified for this data type property
must match the value of the assessmentTemplateName property
of the AssessmentTemplate data type.public String getNamePattern()
For a record to match a filter, an explicit value or a string that contains a wildcard that is specified for this data type property must match the value of the assessmentTemplateName property of the AssessmentTemplate data type.
public AssessmentTemplateFilter withNamePattern(String namePattern)
For a record to match a filter, an explicit value or a string that contains a wildcard that is specified for this data type property must match the value of the assessmentTemplateName property of the AssessmentTemplate data type.
namePattern
- For a record to match a filter, an explicit value or a string that
contains a wildcard that is specified for this data type property
must match the value of the assessmentTemplateName property
of the AssessmentTemplate data type.public void setDurationRange(DurationRange durationRange)
For a record to match a filter, the value specified for this data type property must inclusively match any value between the specified minimum and maximum values of the durationInSeconds property of the AssessmentTemplate data type.
durationRange
- For a record to match a filter, the value specified for this data
type property must inclusively match any value between the
specified minimum and maximum values of the
durationInSeconds property of the AssessmentTemplate
data type.public DurationRange getDurationRange()
For a record to match a filter, the value specified for this data type property must inclusively match any value between the specified minimum and maximum values of the durationInSeconds property of the AssessmentTemplate data type.
public AssessmentTemplateFilter withDurationRange(DurationRange durationRange)
For a record to match a filter, the value specified for this data type property must inclusively match any value between the specified minimum and maximum values of the durationInSeconds property of the AssessmentTemplate data type.
durationRange
- For a record to match a filter, the value specified for this data
type property must inclusively match any value between the
specified minimum and maximum values of the
durationInSeconds property of the AssessmentTemplate
data type.public List<String> getRulesPackageArns()
For a record to match a filter, the values that are specified for this data type property must be contained in the list of values of the rulesPackageArns property of the AssessmentTemplate data type.
public void setRulesPackageArns(Collection<String> rulesPackageArns)
For a record to match a filter, the values that are specified for this data type property must be contained in the list of values of the rulesPackageArns property of the AssessmentTemplate data type.
rulesPackageArns
- For a record to match a filter, the values that are specified for
this data type property must be contained in the list of values of
the rulesPackageArns property of the
AssessmentTemplate data type.public AssessmentTemplateFilter withRulesPackageArns(String... rulesPackageArns)
For a record to match a filter, the values that are specified for this data type property must be contained in the list of values of the rulesPackageArns property of the AssessmentTemplate 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 values that are specified for
this data type property must be contained in the list of values of
the rulesPackageArns property of the
AssessmentTemplate data type.public AssessmentTemplateFilter withRulesPackageArns(Collection<String> rulesPackageArns)
For a record to match a filter, the values that are specified for this data type property must be contained in the list of values of the rulesPackageArns property of the AssessmentTemplate data type.
rulesPackageArns
- For a record to match a filter, the values that are specified for
this data type property must be contained in the list of values of
the rulesPackageArns property of the
AssessmentTemplate data type.public String toString()
toString
in class Object
Object.toString()
public AssessmentTemplateFilter clone()
Copyright © 2018. All rights reserved.