public class AgentFilter extends Object implements Serializable, Cloneable
Contains information about an Amazon Inspector agent. This data type is used as a request parameter in the ListAssessmentRunAgents action.
| Constructor and Description |
|---|
AgentFilter() |
| Modifier and Type | Method and Description |
|---|---|
AgentFilter |
clone() |
boolean |
equals(Object obj) |
List<String> |
getAgentHealthCodes()
The detailed health state of the agent.
|
List<String> |
getAgentHealths()
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.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
AgentFilter |
withAgentHealthCodes(AgentHealthCode... agentHealthCodes)
The detailed health state of the agent.
|
AgentFilter |
withAgentHealthCodes(Collection<String> agentHealthCodes)
The detailed health state of the agent.
|
AgentFilter |
withAgentHealthCodes(String... agentHealthCodes)
The detailed health state of the agent.
|
AgentFilter |
withAgentHealths(AgentHealth... agentHealths)
The current health state of the agent.
|
AgentFilter |
withAgentHealths(Collection<String> agentHealths)
The current health state of the agent.
|
AgentFilter |
withAgentHealths(String... agentHealths)
The current health state of the agent.
|
public List<String> getAgentHealths()
The current health state of the agent. Values can be set to HEALTHY or UNHEALTHY.
AgentHealthpublic void setAgentHealths(Collection<String> agentHealths)
The current health state of the agent. Values can be set to HEALTHY or UNHEALTHY.
agentHealths - The current health state of the agent. Values can be set to HEALTHY or UNHEALTHY.AgentHealthpublic AgentFilter withAgentHealths(String... agentHealths)
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) or withAgentHealths(java.util.Collection) if you want to
override the existing values.
agentHealths - The current health state of the agent. Values can be set to HEALTHY or UNHEALTHY.AgentHealthpublic AgentFilter withAgentHealths(Collection<String> agentHealths)
The current health state of the agent. Values can be set to HEALTHY or UNHEALTHY.
agentHealths - The current health state of the agent. Values can be set to HEALTHY or UNHEALTHY.AgentHealthpublic AgentFilter withAgentHealths(AgentHealth... agentHealths)
The current health state of the agent. Values can be set to HEALTHY or UNHEALTHY.
agentHealths - The current health state of the agent. Values can be set to HEALTHY or UNHEALTHY.AgentHealthpublic List<String> getAgentHealthCodes()
The detailed health state of the agent. Values can be set to IDLE, RUNNING, SHUTDOWN, UNHEALTHY, THROTTLED, and UNKNOWN.
AgentHealthCodepublic void setAgentHealthCodes(Collection<String> agentHealthCodes)
The detailed health state of the agent. Values can be set to IDLE, RUNNING, SHUTDOWN, UNHEALTHY, THROTTLED, and UNKNOWN.
agentHealthCodes - The detailed health state of the agent. Values can be set to IDLE, RUNNING, SHUTDOWN,
UNHEALTHY, THROTTLED, and UNKNOWN.AgentHealthCodepublic AgentFilter withAgentHealthCodes(String... agentHealthCodes)
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) or withAgentHealthCodes(java.util.Collection) if you
want to override the existing values.
agentHealthCodes - The detailed health state of the agent. Values can be set to IDLE, RUNNING, SHUTDOWN,
UNHEALTHY, THROTTLED, and UNKNOWN.AgentHealthCodepublic AgentFilter withAgentHealthCodes(Collection<String> agentHealthCodes)
The detailed health state of the agent. Values can be set to IDLE, RUNNING, SHUTDOWN, UNHEALTHY, THROTTLED, and UNKNOWN.
agentHealthCodes - The detailed health state of the agent. Values can be set to IDLE, RUNNING, SHUTDOWN,
UNHEALTHY, THROTTLED, and UNKNOWN.AgentHealthCodepublic AgentFilter withAgentHealthCodes(AgentHealthCode... agentHealthCodes)
The detailed health state of the agent. Values can be set to IDLE, RUNNING, SHUTDOWN, UNHEALTHY, THROTTLED, and UNKNOWN.
agentHealthCodes - The detailed health state of the agent. Values can be set to IDLE, RUNNING, SHUTDOWN,
UNHEALTHY, THROTTLED, and UNKNOWN.AgentHealthCodepublic String toString()
toString in class ObjectObject.toString()public AgentFilter clone()
Copyright © 2016. All rights reserved.