public class Filter extends Object implements Serializable, Cloneable
A filter that can use conditional operators.
Constructor and Description |
---|
Filter() |
Modifier and Type | Method and Description |
---|---|
Filter |
clone() |
boolean |
equals(Object obj) |
String |
getCondition()
A conditional operator.
|
String |
getName()
The name of the filter.
|
List<String> |
getValues()
A string value that you want to filter on.
|
int |
hashCode() |
void |
setCondition(String condition)
A conditional operator.
|
void |
setName(String name)
The name of the filter.
|
void |
setValues(Collection<String> values)
A string value that you want to filter on.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
Filter |
withCondition(String condition)
A conditional operator.
|
Filter |
withName(String name)
The name of the filter.
|
Filter |
withValues(Collection<String> values)
A string value that you want to filter on.
|
Filter |
withValues(String... values)
A string value that you want to filter on.
|
public void setName(String name)
The name of the filter. The following filter names are allowed for
SERVER
configuration items.
Server
server.hostName
server.osName
server.osVersion
server.configurationid
server.agentid
The name of the filter. The following filter names are allowed for
PROCESS
configuration items.
Process
process.configurationid
process.name
process.commandLine
server.configurationid
server.hostName
server.osName
server.osVersion
server.agentId
The name of the filter. The following filter names are allowed for
CONNECTION
configuration items.
Connection
connection.sourceIp
connection.destinationIp
connection.destinationPort
sourceProcess.configurationId
sourceProcess.name
sourceProcess.commandLine
destinationProcess.configurationId
destinationProcess.name
destinationProcess.commandLine
sourceServer.configurationId
sourceServer.hostName
sourceServer.osName
sourceServer.osVersion
sourceServer.agentId
destinationServer.configurationId
destinationServer.hostName
destinationServer.osName
destinationServer.osVersion
destinationServer.agentId
name
- The name of the filter. The following filter names are allowed for
SERVER
configuration items.
Server
server.hostName
server.osName
server.osVersion
server.configurationid
server.agentid
The name of the filter. The following filter names are allowed for
PROCESS
configuration items.
Process
process.configurationid
process.name
process.commandLine
server.configurationid
server.hostName
server.osName
server.osVersion
server.agentId
The name of the filter. The following filter names are allowed for
CONNECTION
configuration items.
Connection
connection.sourceIp
connection.destinationIp
connection.destinationPort
sourceProcess.configurationId
sourceProcess.name
sourceProcess.commandLine
destinationProcess.configurationId
destinationProcess.name
destinationProcess.commandLine
sourceServer.configurationId
sourceServer.hostName
sourceServer.osName
sourceServer.osVersion
sourceServer.agentId
destinationServer.configurationId
destinationServer.hostName
destinationServer.osName
destinationServer.osVersion
destinationServer.agentId
public String getName()
The name of the filter. The following filter names are allowed for
SERVER
configuration items.
Server
server.hostName
server.osName
server.osVersion
server.configurationid
server.agentid
The name of the filter. The following filter names are allowed for
PROCESS
configuration items.
Process
process.configurationid
process.name
process.commandLine
server.configurationid
server.hostName
server.osName
server.osVersion
server.agentId
The name of the filter. The following filter names are allowed for
CONNECTION
configuration items.
Connection
connection.sourceIp
connection.destinationIp
connection.destinationPort
sourceProcess.configurationId
sourceProcess.name
sourceProcess.commandLine
destinationProcess.configurationId
destinationProcess.name
destinationProcess.commandLine
sourceServer.configurationId
sourceServer.hostName
sourceServer.osName
sourceServer.osVersion
sourceServer.agentId
destinationServer.configurationId
destinationServer.hostName
destinationServer.osName
destinationServer.osVersion
destinationServer.agentId
SERVER
configuration items.
Server
server.hostName
server.osName
server.osVersion
server.configurationid
server.agentid
The name of the filter. The following filter names are allowed
for PROCESS
configuration items.
Process
process.configurationid
process.name
process.commandLine
server.configurationid
server.hostName
server.osName
server.osVersion
server.agentId
The name of the filter. The following filter names are allowed
for CONNECTION
configuration items.
Connection
connection.sourceIp
connection.destinationIp
connection.destinationPort
sourceProcess.configurationId
sourceProcess.name
sourceProcess.commandLine
destinationProcess.configurationId
destinationProcess.name
destinationProcess.commandLine
sourceServer.configurationId
sourceServer.hostName
sourceServer.osName
sourceServer.osVersion
sourceServer.agentId
destinationServer.configurationId
destinationServer.hostName
destinationServer.osName
destinationServer.osVersion
destinationServer.agentId
public Filter withName(String name)
The name of the filter. The following filter names are allowed for
SERVER
configuration items.
Server
server.hostName
server.osName
server.osVersion
server.configurationid
server.agentid
The name of the filter. The following filter names are allowed for
PROCESS
configuration items.
Process
process.configurationid
process.name
process.commandLine
server.configurationid
server.hostName
server.osName
server.osVersion
server.agentId
The name of the filter. The following filter names are allowed for
CONNECTION
configuration items.
Connection
connection.sourceIp
connection.destinationIp
connection.destinationPort
sourceProcess.configurationId
sourceProcess.name
sourceProcess.commandLine
destinationProcess.configurationId
destinationProcess.name
destinationProcess.commandLine
sourceServer.configurationId
sourceServer.hostName
sourceServer.osName
sourceServer.osVersion
sourceServer.agentId
destinationServer.configurationId
destinationServer.hostName
destinationServer.osName
destinationServer.osVersion
destinationServer.agentId
name
- The name of the filter. The following filter names are allowed for
SERVER
configuration items.
Server
server.hostName
server.osName
server.osVersion
server.configurationid
server.agentid
The name of the filter. The following filter names are allowed for
PROCESS
configuration items.
Process
process.configurationid
process.name
process.commandLine
server.configurationid
server.hostName
server.osName
server.osVersion
server.agentId
The name of the filter. The following filter names are allowed for
CONNECTION
configuration items.
Connection
connection.sourceIp
connection.destinationIp
connection.destinationPort
sourceProcess.configurationId
sourceProcess.name
sourceProcess.commandLine
destinationProcess.configurationId
destinationProcess.name
destinationProcess.commandLine
sourceServer.configurationId
sourceServer.hostName
sourceServer.osName
sourceServer.osVersion
sourceServer.agentId
destinationServer.configurationId
destinationServer.hostName
destinationServer.osName
destinationServer.osVersion
destinationServer.agentId
public List<String> getValues()
A string value that you want to filter on. For example, if you choose the
destinationServer.osVersion
filter name, you could specify
Ubuntu
for the value.
destinationServer.osVersion
filter name,
you could specify Ubuntu
for the value.public void setValues(Collection<String> values)
A string value that you want to filter on. For example, if you choose the
destinationServer.osVersion
filter name, you could specify
Ubuntu
for the value.
values
- A string value that you want to filter on. For example, if you
choose the destinationServer.osVersion
filter name,
you could specify Ubuntu
for the value.public Filter withValues(String... values)
A string value that you want to filter on. For example, if you choose the
destinationServer.osVersion
filter name, you could specify
Ubuntu
for the value.
NOTE: This method appends the values to the existing list (if
any). Use setValues(java.util.Collection)
or
withValues(java.util.Collection)
if you want to override the
existing values.
values
- A string value that you want to filter on. For example, if you
choose the destinationServer.osVersion
filter name,
you could specify Ubuntu
for the value.public Filter withValues(Collection<String> values)
A string value that you want to filter on. For example, if you choose the
destinationServer.osVersion
filter name, you could specify
Ubuntu
for the value.
values
- A string value that you want to filter on. For example, if you
choose the destinationServer.osVersion
filter name,
you could specify Ubuntu
for the value.public void setCondition(String condition)
A conditional operator. The following operators are valid: EQUALS, NOT_EQUALS, CONTAINS, NOT_CONTAINS. If you specify multiple filters, the system utilizes all filters as though concatenated by AND. If you specify multiple values for a particular filter, the system differentiates the values using OR. Calling either DescribeConfigurations or ListConfigurations returns attributes of matching configuration items.
condition
- A conditional operator. The following operators are valid: EQUALS,
NOT_EQUALS, CONTAINS, NOT_CONTAINS. If you specify multiple
filters, the system utilizes all filters as though concatenated by
AND. If you specify multiple values for a particular
filter, the system differentiates the values using OR.
Calling either DescribeConfigurations or
ListConfigurations returns attributes of matching
configuration items.public String getCondition()
A conditional operator. The following operators are valid: EQUALS, NOT_EQUALS, CONTAINS, NOT_CONTAINS. If you specify multiple filters, the system utilizes all filters as though concatenated by AND. If you specify multiple values for a particular filter, the system differentiates the values using OR. Calling either DescribeConfigurations or ListConfigurations returns attributes of matching configuration items.
public Filter withCondition(String condition)
A conditional operator. The following operators are valid: EQUALS, NOT_EQUALS, CONTAINS, NOT_CONTAINS. If you specify multiple filters, the system utilizes all filters as though concatenated by AND. If you specify multiple values for a particular filter, the system differentiates the values using OR. Calling either DescribeConfigurations or ListConfigurations returns attributes of matching configuration items.
condition
- A conditional operator. The following operators are valid: EQUALS,
NOT_EQUALS, CONTAINS, NOT_CONTAINS. If you specify multiple
filters, the system utilizes all filters as though concatenated by
AND. If you specify multiple values for a particular
filter, the system differentiates the values using OR.
Calling either DescribeConfigurations or
ListConfigurations returns attributes of matching
configuration items.public String toString()
toString
in class Object
Object.toString()
Copyright © 2018. All rights reserved.