@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ScanResourceCriteria extends Object implements Serializable, Cloneable, StructuredPojo
Contains information about criteria used to filter resources before triggering malware scan.
Constructor and Description |
---|
ScanResourceCriteria() |
Modifier and Type | Method and Description |
---|---|
ScanResourceCriteria |
addExcludeEntry(String key,
ScanCondition value)
Add a single Exclude entry
|
ScanResourceCriteria |
addIncludeEntry(String key,
ScanCondition value)
Add a single Include entry
|
ScanResourceCriteria |
clearExcludeEntries()
Removes all the entries added into Exclude.
|
ScanResourceCriteria |
clearIncludeEntries()
Removes all the entries added into Include.
|
ScanResourceCriteria |
clone() |
boolean |
equals(Object obj) |
Map<String,ScanCondition> |
getExclude()
Represents condition that when matched will prevent a malware scan for a certain resource.
|
Map<String,ScanCondition> |
getInclude()
Represents condition that when matched will allow a malware scan for a certain resource.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setExclude(Map<String,ScanCondition> exclude)
Represents condition that when matched will prevent a malware scan for a certain resource.
|
void |
setInclude(Map<String,ScanCondition> include)
Represents condition that when matched will allow a malware scan for a certain resource.
|
String |
toString()
Returns a string representation of this object.
|
ScanResourceCriteria |
withExclude(Map<String,ScanCondition> exclude)
Represents condition that when matched will prevent a malware scan for a certain resource.
|
ScanResourceCriteria |
withInclude(Map<String,ScanCondition> include)
Represents condition that when matched will allow a malware scan for a certain resource.
|
public Map<String,ScanCondition> getInclude()
Represents condition that when matched will allow a malware scan for a certain resource.
public void setInclude(Map<String,ScanCondition> include)
Represents condition that when matched will allow a malware scan for a certain resource.
include
- Represents condition that when matched will allow a malware scan for a certain resource.public ScanResourceCriteria withInclude(Map<String,ScanCondition> include)
Represents condition that when matched will allow a malware scan for a certain resource.
include
- Represents condition that when matched will allow a malware scan for a certain resource.public ScanResourceCriteria addIncludeEntry(String key, ScanCondition value)
public ScanResourceCriteria clearIncludeEntries()
public Map<String,ScanCondition> getExclude()
Represents condition that when matched will prevent a malware scan for a certain resource.
public void setExclude(Map<String,ScanCondition> exclude)
Represents condition that when matched will prevent a malware scan for a certain resource.
exclude
- Represents condition that when matched will prevent a malware scan for a certain resource.public ScanResourceCriteria withExclude(Map<String,ScanCondition> exclude)
Represents condition that when matched will prevent a malware scan for a certain resource.
exclude
- Represents condition that when matched will prevent a malware scan for a certain resource.public ScanResourceCriteria addExcludeEntry(String key, ScanCondition value)
public ScanResourceCriteria clearExcludeEntries()
public String toString()
toString
in class Object
Object.toString()
public ScanResourceCriteria clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.