Class AgentFilter
- All Implemented Interfaces:
Serializable
,Cloneable
Contains information about an Amazon Inspector agent. This data type is used as a request parameter in the ListAssessmentRunAgents action.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
The detailed health state of the agent.The current health state of the agent.int
hashCode()
void
setAgentHealthCodes
(Collection<String> agentHealthCodes) The detailed health state of the agent.void
setAgentHealths
(Collection<String> agentHealths) The current health state of the agent.toString()
Returns a string representation of this object; useful for testing and debugging.withAgentHealthCodes
(AgentHealthCode... agentHealthCodes) The detailed health state of the agent.withAgentHealthCodes
(String... agentHealthCodes) The detailed health state of the agent.withAgentHealthCodes
(Collection<String> agentHealthCodes) The detailed health state of the agent.withAgentHealths
(AgentHealth... agentHealths) The current health state of the agent.withAgentHealths
(String... agentHealths) The current health state of the agent.withAgentHealths
(Collection<String> agentHealths) The current health state of the agent.
-
Constructor Details
-
AgentFilter
public AgentFilter()
-
-
Method Details
-
getAgentHealths
The current health state of the agent. Values can be set to HEALTHY or UNHEALTHY.
- Returns:
- The current health state of the agent. Values can be set to HEALTHY or UNHEALTHY.
- See Also:
-
setAgentHealths
The current health state of the agent. Values can be set to HEALTHY or UNHEALTHY.
- Parameters:
agentHealths
- The current health state of the agent. Values can be set to HEALTHY or UNHEALTHY.- See Also:
-
withAgentHealths
The current health state of the agent. Values can be set to HEALTHY or UNHEALTHY.
NOTE: This method appends the values to the existing list (if any). Use
setAgentHealths(java.util.Collection)
orwithAgentHealths(java.util.Collection)
if you want to override the existing values.- Parameters:
agentHealths
- The current health state of the agent. Values can be set to HEALTHY or UNHEALTHY.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
withAgentHealths
The current health state of the agent. Values can be set to HEALTHY or UNHEALTHY.
- Parameters:
agentHealths
- The current health state of the agent. Values can be set to HEALTHY or UNHEALTHY.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
withAgentHealths
The current health state of the agent. Values can be set to HEALTHY or UNHEALTHY.
- Parameters:
agentHealths
- The current health state of the agent. Values can be set to HEALTHY or UNHEALTHY.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
getAgentHealthCodes
The detailed health state of the agent. Values can be set to IDLE, RUNNING, SHUTDOWN, UNHEALTHY, THROTTLED, and UNKNOWN.
- Returns:
- The detailed health state of the agent. Values can be set to IDLE, RUNNING, SHUTDOWN, UNHEALTHY, THROTTLED, and UNKNOWN.
- See Also:
-
setAgentHealthCodes
The detailed health state of the agent. Values can be set to IDLE, RUNNING, SHUTDOWN, UNHEALTHY, THROTTLED, and UNKNOWN.
- Parameters:
agentHealthCodes
- The detailed health state of the agent. Values can be set to IDLE, RUNNING, SHUTDOWN, UNHEALTHY, THROTTLED, and UNKNOWN.- See Also:
-
withAgentHealthCodes
The detailed health state of the agent. Values can be set to IDLE, RUNNING, SHUTDOWN, UNHEALTHY, THROTTLED, and UNKNOWN.
NOTE: This method appends the values to the existing list (if any). Use
setAgentHealthCodes(java.util.Collection)
orwithAgentHealthCodes(java.util.Collection)
if you want to override the existing values.- Parameters:
agentHealthCodes
- The detailed health state of the agent. Values can be set to IDLE, RUNNING, SHUTDOWN, UNHEALTHY, THROTTLED, and UNKNOWN.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
withAgentHealthCodes
The detailed health state of the agent. Values can be set to IDLE, RUNNING, SHUTDOWN, UNHEALTHY, THROTTLED, and UNKNOWN.
- Parameters:
agentHealthCodes
- The detailed health state of the agent. Values can be set to IDLE, RUNNING, SHUTDOWN, UNHEALTHY, THROTTLED, and UNKNOWN.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
withAgentHealthCodes
The detailed health state of the agent. Values can be set to IDLE, RUNNING, SHUTDOWN, UNHEALTHY, THROTTLED, and UNKNOWN.
- Parameters:
agentHealthCodes
- The detailed health state of the agent. Values can be set to IDLE, RUNNING, SHUTDOWN, UNHEALTHY, THROTTLED, and UNKNOWN.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-