Class Filter
- All Implemented Interfaces:
Serializable, Cloneable
A filter that can use conditional operators.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()booleanA conditional operator.getName()The name of the filter.A string value that you want to filter on.inthashCode()voidsetCondition(String condition) A conditional operator.voidThe name of the filter.voidsetValues(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
SERVERconfiguration items.Server
-
server.hostName -
server.osName -
server.osVersion -
server.configurationid -
server.agentid
The name of the filter. The following filter names are allowed for
PROCESSconfiguration 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
CONNECTIONconfiguration 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 forSERVERconfiguration items.Server
-
server.hostName -
server.osName -
server.osVersion -
server.configurationid -
server.agentid
The name of the filter. The following filter names are allowed for
PROCESSconfiguration 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
CONNECTIONconfiguration 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
SERVERconfiguration items.Server
-
server.hostName -
server.osName -
server.osVersion -
server.configurationid -
server.agentid
The name of the filter. The following filter names are allowed for
PROCESSconfiguration 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
CONNECTIONconfiguration 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
SERVERconfiguration items.Server
-
server.hostName -
server.osName -
server.osVersion -
server.configurationid -
server.agentid
The name of the filter. The following filter names are allowed for
PROCESSconfiguration 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
CONNECTIONconfiguration 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
SERVERconfiguration items.Server
-
server.hostName -
server.osName -
server.osVersion -
server.configurationid -
server.agentid
The name of the filter. The following filter names are allowed for
PROCESSconfiguration 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
CONNECTIONconfiguration 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 forSERVERconfiguration items.Server
-
server.hostName -
server.osName -
server.osVersion -
server.configurationid -
server.agentid
The name of the filter. The following filter names are allowed for
PROCESSconfiguration 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
CONNECTIONconfiguration 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.osVersionfilter name, you could specifyUbuntufor the value.- Returns:
- A string value that you want to filter on. For example, if you
choose the
destinationServer.osVersionfilter name, you could specifyUbuntufor the value.
-
setValues
A string value that you want to filter on. For example, if you choose the
destinationServer.osVersionfilter name, you could specifyUbuntufor the value.- Parameters:
values- A string value that you want to filter on. For example, if you choose thedestinationServer.osVersionfilter name, you could specifyUbuntufor the value.
-
withValues
A string value that you want to filter on. For example, if you choose the
destinationServer.osVersionfilter name, you could specifyUbuntufor 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.osVersionfilter name, you could specifyUbuntufor 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.osVersionfilter name, you could specifyUbuntufor the value.- Parameters:
values- A string value that you want to filter on. For example, if you choose thedestinationServer.osVersionfilter name, you could specifyUbuntufor 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
-
equals
-
hashCode
-
clone
-