@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdateAgentRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
UpdateAgentRequest
NOOP
Constructor and Description |
---|
UpdateAgentRequest() |
Modifier and Type | Method and Description |
---|---|
UpdateAgentRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getAgentArn()
The Amazon Resource Name (ARN) of the agent to update.
|
String |
getName()
The name that you want to use to configure the agent.
|
int |
hashCode() |
void |
setAgentArn(String agentArn)
The Amazon Resource Name (ARN) of the agent to update.
|
void |
setName(String name)
The name that you want to use to configure the agent.
|
String |
toString()
Returns a string representation of this object.
|
UpdateAgentRequest |
withAgentArn(String agentArn)
The Amazon Resource Name (ARN) of the agent to update.
|
UpdateAgentRequest |
withName(String name)
The name that you want to use to configure the agent.
|
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 setAgentArn(String agentArn)
The Amazon Resource Name (ARN) of the agent to update.
agentArn
- The Amazon Resource Name (ARN) of the agent to update.public String getAgentArn()
The Amazon Resource Name (ARN) of the agent to update.
public UpdateAgentRequest withAgentArn(String agentArn)
The Amazon Resource Name (ARN) of the agent to update.
agentArn
- The Amazon Resource Name (ARN) of the agent to update.public void setName(String name)
The name that you want to use to configure the agent.
name
- The name that you want to use to configure the agent.public String getName()
The name that you want to use to configure the agent.
public UpdateAgentRequest withName(String name)
The name that you want to use to configure the agent.
name
- The name that you want to use to configure the agent.public String toString()
toString
in class Object
Object.toString()
public UpdateAgentRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()