@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AgentFilter extends Object implements Serializable, Cloneable, StructuredPojo
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 |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
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.
|
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.
AgentHealth
public 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.AgentHealth
public 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.AgentHealth
public 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.AgentHealth
public 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.AgentHealth
public List<String> getAgentHealthCodes()
The detailed health state of the agent. Values can be set to IDLE, RUNNING, SHUTDOWN, UNHEALTHY, THROTTLED, and UNKNOWN.
AgentHealthCode
public 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.AgentHealthCode
public 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.AgentHealthCode
public 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.AgentHealthCode
public 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.AgentHealthCode
public String toString()
toString
in class Object
Object.toString()
public AgentFilter clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.