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()booleanThe detailed health state of the agent.The current health state of the agent.inthashCode()voidsetAgentHealthCodes(Collection<String> agentHealthCodes) The detailed health state of the agent.voidsetAgentHealths(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
-
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
-
equals
-
hashCode
-
clone
-