@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateAgentRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
CreateAgentRequest
NOOP
Constructor and Description |
---|
CreateAgentRequest() |
Modifier and Type | Method and Description |
---|---|
CreateAgentRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getActivationKey()
Your agent activation key.
|
String |
getAgentName()
The name you configured for your agent.
|
List<TagListEntry> |
getTags()
The key-value pair that represents the tag that you want to associate with the agent.
|
int |
hashCode() |
void |
setActivationKey(String activationKey)
Your agent activation key.
|
void |
setAgentName(String agentName)
The name you configured for your agent.
|
void |
setTags(Collection<TagListEntry> tags)
The key-value pair that represents the tag that you want to associate with the agent.
|
String |
toString()
Returns a string representation of this object.
|
CreateAgentRequest |
withActivationKey(String activationKey)
Your agent activation key.
|
CreateAgentRequest |
withAgentName(String agentName)
The name you configured for your agent.
|
CreateAgentRequest |
withTags(Collection<TagListEntry> tags)
The key-value pair that represents the tag that you want to associate with the agent.
|
CreateAgentRequest |
withTags(TagListEntry... tags)
The key-value pair that represents the tag that you want to associate with 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 setActivationKey(String activationKey)
Your agent activation key. You can get the activation key either by sending an HTTP GET request with redirects that enable you to get the agent IP address (port 80). Alternatively, you can get it from the AWS DataSync console.
The redirect URL returned in the response provides you the activation key for your agent in the query string
parameter activationKey
. It might also include other activation-related parameters; however, these
are merely defaults. The arguments you pass to this API call determine the actual configuration of your agent.
For more information, see "https://docs.aws.amazon.com/datasync/latest/userguide/working-with-agents.html#activating-agent" (Activating a Agent) in the AWS DataSync User Guide.
activationKey
- Your agent activation key. You can get the activation key either by sending an HTTP GET request with
redirects that enable you to get the agent IP address (port 80). Alternatively, you can get it from the
AWS DataSync console.
The redirect URL returned in the response provides you the activation key for your agent in the query
string parameter activationKey
. It might also include other activation-related parameters;
however, these are merely defaults. The arguments you pass to this API call determine the actual
configuration of your agent.
For more information, see "https://docs.aws.amazon.com/datasync/latest/userguide/working-with-agents.html#activating-agent" (Activating a Agent) in the AWS DataSync User Guide.
public String getActivationKey()
Your agent activation key. You can get the activation key either by sending an HTTP GET request with redirects that enable you to get the agent IP address (port 80). Alternatively, you can get it from the AWS DataSync console.
The redirect URL returned in the response provides you the activation key for your agent in the query string
parameter activationKey
. It might also include other activation-related parameters; however, these
are merely defaults. The arguments you pass to this API call determine the actual configuration of your agent.
For more information, see "https://docs.aws.amazon.com/datasync/latest/userguide/working-with-agents.html#activating-agent" (Activating a Agent) in the AWS DataSync User Guide.
The redirect URL returned in the response provides you the activation key for your agent in the query
string parameter activationKey
. It might also include other activation-related parameters;
however, these are merely defaults. The arguments you pass to this API call determine the actual
configuration of your agent.
For more information, see "https://docs.aws.amazon.com/datasync/latest/userguide/working-with-agents.html#activating-agent" (Activating a Agent) in the AWS DataSync User Guide.
public CreateAgentRequest withActivationKey(String activationKey)
Your agent activation key. You can get the activation key either by sending an HTTP GET request with redirects that enable you to get the agent IP address (port 80). Alternatively, you can get it from the AWS DataSync console.
The redirect URL returned in the response provides you the activation key for your agent in the query string
parameter activationKey
. It might also include other activation-related parameters; however, these
are merely defaults. The arguments you pass to this API call determine the actual configuration of your agent.
For more information, see "https://docs.aws.amazon.com/datasync/latest/userguide/working-with-agents.html#activating-agent" (Activating a Agent) in the AWS DataSync User Guide.
activationKey
- Your agent activation key. You can get the activation key either by sending an HTTP GET request with
redirects that enable you to get the agent IP address (port 80). Alternatively, you can get it from the
AWS DataSync console.
The redirect URL returned in the response provides you the activation key for your agent in the query
string parameter activationKey
. It might also include other activation-related parameters;
however, these are merely defaults. The arguments you pass to this API call determine the actual
configuration of your agent.
For more information, see "https://docs.aws.amazon.com/datasync/latest/userguide/working-with-agents.html#activating-agent" (Activating a Agent) in the AWS DataSync User Guide.
public void setAgentName(String agentName)
The name you configured for your agent. This value is a text reference that is used to identify the agent in the console.
agentName
- The name you configured for your agent. This value is a text reference that is used to identify the agent
in the console.public String getAgentName()
The name you configured for your agent. This value is a text reference that is used to identify the agent in the console.
public CreateAgentRequest withAgentName(String agentName)
The name you configured for your agent. This value is a text reference that is used to identify the agent in the console.
agentName
- The name you configured for your agent. This value is a text reference that is used to identify the agent
in the console.public List<TagListEntry> getTags()
The key-value pair that represents the tag that you want to associate with the agent. The value can be an empty string. This value helps you manage, filter, and search for your agents.
Valid characters for key and value are letters, spaces, and numbers representable in UTF-8 format, and the following special characters: + - = . _ : / @.
Valid characters for key and value are letters, spaces, and numbers representable in UTF-8 format, and the following special characters: + - = . _ : / @.
public void setTags(Collection<TagListEntry> tags)
The key-value pair that represents the tag that you want to associate with the agent. The value can be an empty string. This value helps you manage, filter, and search for your agents.
Valid characters for key and value are letters, spaces, and numbers representable in UTF-8 format, and the following special characters: + - = . _ : / @.
tags
- The key-value pair that represents the tag that you want to associate with the agent. The value can be an
empty string. This value helps you manage, filter, and search for your agents. Valid characters for key and value are letters, spaces, and numbers representable in UTF-8 format, and the following special characters: + - = . _ : / @.
public CreateAgentRequest withTags(TagListEntry... tags)
The key-value pair that represents the tag that you want to associate with the agent. The value can be an empty string. This value helps you manage, filter, and search for your agents.
Valid characters for key and value are letters, spaces, and numbers representable in UTF-8 format, and the following special characters: + - = . _ : / @.
NOTE: This method appends the values to the existing list (if any). Use
setTags(java.util.Collection)
or withTags(java.util.Collection)
if you want to override the
existing values.
tags
- The key-value pair that represents the tag that you want to associate with the agent. The value can be an
empty string. This value helps you manage, filter, and search for your agents. Valid characters for key and value are letters, spaces, and numbers representable in UTF-8 format, and the following special characters: + - = . _ : / @.
public CreateAgentRequest withTags(Collection<TagListEntry> tags)
The key-value pair that represents the tag that you want to associate with the agent. The value can be an empty string. This value helps you manage, filter, and search for your agents.
Valid characters for key and value are letters, spaces, and numbers representable in UTF-8 format, and the following special characters: + - = . _ : / @.
tags
- The key-value pair that represents the tag that you want to associate with the agent. The value can be an
empty string. This value helps you manage, filter, and search for your agents. Valid characters for key and value are letters, spaces, and numbers representable in UTF-8 format, and the following special characters: + - = . _ : / @.
public String toString()
toString
in class Object
Object.toString()
public CreateAgentRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.