@Generated(value="software.amazon.awssdk:codegen") public class AgentFilter extends Object implements StructuredPojo, ToCopyableBuilder<AgentFilter.Builder,AgentFilter>
Contains information about an Amazon Inspector agent. This data type is used as a request parameter in the ListAssessmentRunAgents action.
Modifier and Type | Class and Description |
---|---|
static interface |
AgentFilter.Builder |
Modifier and Type | Method and Description |
---|---|
List<AgentHealthCode> |
agentHealthCodes()
The detailed health state of the agent.
|
List<String> |
agentHealthCodesStrings()
The detailed health state of the agent.
|
List<AgentHealth> |
agentHealths()
The current health state of the agent.
|
List<String> |
agentHealthsStrings()
The current health state of the agent.
|
static AgentFilter.Builder |
builder() |
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
static Class<? extends AgentFilter.Builder> |
serializableBuilderClass() |
AgentFilter.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
copy
public List<AgentHealth> agentHealths()
The current health state of the agent. Values can be set to HEALTHY or UNHEALTHY.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public List<String> agentHealthsStrings()
The current health state of the agent. Values can be set to HEALTHY or UNHEALTHY.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public List<AgentHealthCode> agentHealthCodes()
The detailed health state of the agent. Values can be set to IDLE, RUNNING, SHUTDOWN, UNHEALTHY, THROTTLED, and UNKNOWN.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public List<String> agentHealthCodesStrings()
The detailed health state of the agent. Values can be set to IDLE, RUNNING, SHUTDOWN, UNHEALTHY, THROTTLED, and UNKNOWN.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public AgentFilter.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<AgentFilter.Builder,AgentFilter>
public static AgentFilter.Builder builder()
public static Class<? extends AgentFilter.Builder> serializableBuilderClass()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.