Class Filter
- All Implemented Interfaces:
Serializable
,Cloneable
A filter that can use conditional operators.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
A conditional operator.getName()
The name of the filter.A string value that you want to filter on.int
hashCode()
void
setCondition
(String condition) A conditional operator.void
The name of the filter.void
setValues
(Collection<String> values) A string value that you want to filter on.toString()
Returns a string representation of this object; useful for testing and debugging.withCondition
(String condition) A conditional operator.The name of the filter.withValues
(String... values) A string value that you want to filter on.withValues
(Collection<String> values) A string value that you want to filter on.
-
Constructor Details
-
Filter
public Filter()
-
-
Method Details
-
setName
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
- Parameters:
name
- The name of the filter. The following filter names are allowed forSERVER
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
-
-
-
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
- Returns:
- 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
-
-
-
withName
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
- Parameters:
name
- The name of the filter. The following filter names are allowed forSERVER
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
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
getValues
A string value that you want to filter on. For example, if you choose the
destinationServer.osVersion
filter name, you could specifyUbuntu
for the value.- Returns:
- A string value that you want to filter on. For example, if you
choose the
destinationServer.osVersion
filter name, you could specifyUbuntu
for the value.
-
setValues
A string value that you want to filter on. For example, if you choose the
destinationServer.osVersion
filter name, you could specifyUbuntu
for the value.- Parameters:
values
- A string value that you want to filter on. For example, if you choose thedestinationServer.osVersion
filter name, you could specifyUbuntu
for the value.
-
withValues
A string value that you want to filter on. For example, if you choose the
destinationServer.osVersion
filter name, you could specifyUbuntu
for the value.NOTE: This method appends the values to the existing list (if any). Use
setValues(java.util.Collection)
orwithValues(java.util.Collection)
if you want to override the existing values.- Parameters:
values
- A string value that you want to filter on. For example, if you choose thedestinationServer.osVersion
filter name, you could specifyUbuntu
for the value.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withValues
A string value that you want to filter on. For example, if you choose the
destinationServer.osVersion
filter name, you could specifyUbuntu
for the value.- Parameters:
values
- A string value that you want to filter on. For example, if you choose thedestinationServer.osVersion
filter name, you could specifyUbuntu
for the value.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setCondition
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.
- Parameters:
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.
-
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.
- Returns:
- 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.
-
withCondition
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-