@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdateAgentStatusRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
UpdateAgentStatusRequest() |
Modifier and Type | Method and Description |
---|---|
UpdateAgentStatusRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getAgentId()
UUID of agent to update.
|
AggregateStatus |
getAggregateStatus()
Aggregate status for agent.
|
List<ComponentStatusData> |
getComponentStatuses()
List of component statuses for agent.
|
String |
getTaskId()
GUID of agent task.
|
int |
hashCode() |
void |
setAgentId(String agentId)
UUID of agent to update.
|
void |
setAggregateStatus(AggregateStatus aggregateStatus)
Aggregate status for agent.
|
void |
setComponentStatuses(Collection<ComponentStatusData> componentStatuses)
List of component statuses for agent.
|
void |
setTaskId(String taskId)
GUID of agent task.
|
String |
toString()
Returns a string representation of this object.
|
UpdateAgentStatusRequest |
withAgentId(String agentId)
UUID of agent to update.
|
UpdateAgentStatusRequest |
withAggregateStatus(AggregateStatus aggregateStatus)
Aggregate status for agent.
|
UpdateAgentStatusRequest |
withComponentStatuses(Collection<ComponentStatusData> componentStatuses)
List of component statuses for agent.
|
UpdateAgentStatusRequest |
withComponentStatuses(ComponentStatusData... componentStatuses)
List of component statuses for agent.
|
UpdateAgentStatusRequest |
withTaskId(String taskId)
GUID of agent task.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setAgentId(String agentId)
UUID of agent to update.
agentId
- UUID of agent to update.public String getAgentId()
UUID of agent to update.
public UpdateAgentStatusRequest withAgentId(String agentId)
UUID of agent to update.
agentId
- UUID of agent to update.public void setAggregateStatus(AggregateStatus aggregateStatus)
Aggregate status for agent.
aggregateStatus
- Aggregate status for agent.public AggregateStatus getAggregateStatus()
Aggregate status for agent.
public UpdateAgentStatusRequest withAggregateStatus(AggregateStatus aggregateStatus)
Aggregate status for agent.
aggregateStatus
- Aggregate status for agent.public List<ComponentStatusData> getComponentStatuses()
List of component statuses for agent.
public void setComponentStatuses(Collection<ComponentStatusData> componentStatuses)
List of component statuses for agent.
componentStatuses
- List of component statuses for agent.public UpdateAgentStatusRequest withComponentStatuses(ComponentStatusData... componentStatuses)
List of component statuses for agent.
NOTE: This method appends the values to the existing list (if any). Use
setComponentStatuses(java.util.Collection)
or withComponentStatuses(java.util.Collection)
if
you want to override the existing values.
componentStatuses
- List of component statuses for agent.public UpdateAgentStatusRequest withComponentStatuses(Collection<ComponentStatusData> componentStatuses)
List of component statuses for agent.
componentStatuses
- List of component statuses for agent.public void setTaskId(String taskId)
GUID of agent task.
taskId
- GUID of agent task.public String getTaskId()
GUID of agent task.
public UpdateAgentStatusRequest withTaskId(String taskId)
GUID of agent task.
taskId
- GUID of agent task.public String toString()
toString
in class Object
Object.toString()
public UpdateAgentStatusRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()