@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<String> |
getSecurityGroupArns()
The ARNs of the security groups used to protect your data transfer task subnets.
|
List<String> |
getSubnetArns()
The Amazon Resource Names (ARNs) of the subnets in which DataSync will create elastic network interfaces for each
data transfer task.
|
List<TagListEntry> |
getTags()
The key-value pair that represents the tag that you want to associate with the agent.
|
String |
getVpcEndpointId()
The ID of the VPC (virtual private cloud) endpoint that the agent has access to.
|
int |
hashCode() |
void |
setActivationKey(String activationKey)
Your agent activation key.
|
void |
setAgentName(String agentName)
The name you configured for your agent.
|
void |
setSecurityGroupArns(Collection<String> securityGroupArns)
The ARNs of the security groups used to protect your data transfer task subnets.
|
void |
setSubnetArns(Collection<String> subnetArns)
The Amazon Resource Names (ARNs) of the subnets in which DataSync will create elastic network interfaces for each
data transfer task.
|
void |
setTags(Collection<TagListEntry> tags)
The key-value pair that represents the tag that you want to associate with the agent.
|
void |
setVpcEndpointId(String vpcEndpointId)
The ID of the VPC (virtual private cloud) endpoint that the agent has access to.
|
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 |
withSecurityGroupArns(Collection<String> securityGroupArns)
The ARNs of the security groups used to protect your data transfer task subnets.
|
CreateAgentRequest |
withSecurityGroupArns(String... securityGroupArns)
The ARNs of the security groups used to protect your data transfer task subnets.
|
CreateAgentRequest |
withSubnetArns(Collection<String> subnetArns)
The Amazon Resource Names (ARNs) of the subnets in which DataSync will create elastic network interfaces for each
data transfer task.
|
CreateAgentRequest |
withSubnetArns(String... subnetArns)
The Amazon Resource Names (ARNs) of the subnets in which DataSync will create elastic network interfaces for each
data transfer task.
|
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.
|
CreateAgentRequest |
withVpcEndpointId(String vpcEndpointId)
The ID of the VPC (virtual private cloud) endpoint that the agent has access to.
|
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 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 Activating an Agent in the 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
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 Activating an Agent in the 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 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 Activating an Agent in the 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 Activating an Agent in the 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 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 Activating an Agent in the 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
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 Activating an Agent in the 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 void setVpcEndpointId(String vpcEndpointId)
The ID of the VPC (virtual private cloud) endpoint that the agent has access to. This is the client-side VPC endpoint, also called a PrivateLink. If you don't have a PrivateLink VPC endpoint, see Creating a VPC Endpoint Service Configuration in the Amazon VPC User Guide.
VPC endpoint ID looks like this: vpce-01234d5aff67890e1
.
vpcEndpointId
- The ID of the VPC (virtual private cloud) endpoint that the agent has access to. This is the client-side
VPC endpoint, also called a PrivateLink. If you don't have a PrivateLink VPC endpoint, see Creating a VPC Endpoint Service Configuration in the Amazon VPC User Guide.
VPC endpoint ID looks like this: vpce-01234d5aff67890e1
.
public String getVpcEndpointId()
The ID of the VPC (virtual private cloud) endpoint that the agent has access to. This is the client-side VPC endpoint, also called a PrivateLink. If you don't have a PrivateLink VPC endpoint, see Creating a VPC Endpoint Service Configuration in the Amazon VPC User Guide.
VPC endpoint ID looks like this: vpce-01234d5aff67890e1
.
VPC endpoint ID looks like this: vpce-01234d5aff67890e1
.
public CreateAgentRequest withVpcEndpointId(String vpcEndpointId)
The ID of the VPC (virtual private cloud) endpoint that the agent has access to. This is the client-side VPC endpoint, also called a PrivateLink. If you don't have a PrivateLink VPC endpoint, see Creating a VPC Endpoint Service Configuration in the Amazon VPC User Guide.
VPC endpoint ID looks like this: vpce-01234d5aff67890e1
.
vpcEndpointId
- The ID of the VPC (virtual private cloud) endpoint that the agent has access to. This is the client-side
VPC endpoint, also called a PrivateLink. If you don't have a PrivateLink VPC endpoint, see Creating a VPC Endpoint Service Configuration in the Amazon VPC User Guide.
VPC endpoint ID looks like this: vpce-01234d5aff67890e1
.
public List<String> getSubnetArns()
The Amazon Resource Names (ARNs) of the subnets in which DataSync will create elastic network interfaces for each data transfer task. The agent that runs a task must be private. When you start a task that is associated with an agent created in a VPC, or one that has access to an IP address in a VPC, then the task is also private. In this case, DataSync creates four network interfaces for each task in your subnet. For a data transfer to work, the agent must be able to route to all these four network interfaces.
public void setSubnetArns(Collection<String> subnetArns)
The Amazon Resource Names (ARNs) of the subnets in which DataSync will create elastic network interfaces for each data transfer task. The agent that runs a task must be private. When you start a task that is associated with an agent created in a VPC, or one that has access to an IP address in a VPC, then the task is also private. In this case, DataSync creates four network interfaces for each task in your subnet. For a data transfer to work, the agent must be able to route to all these four network interfaces.
subnetArns
- The Amazon Resource Names (ARNs) of the subnets in which DataSync will create elastic network interfaces
for each data transfer task. The agent that runs a task must be private. When you start a task that is
associated with an agent created in a VPC, or one that has access to an IP address in a VPC, then the task
is also private. In this case, DataSync creates four network interfaces for each task in your subnet. For
a data transfer to work, the agent must be able to route to all these four network interfaces.public CreateAgentRequest withSubnetArns(String... subnetArns)
The Amazon Resource Names (ARNs) of the subnets in which DataSync will create elastic network interfaces for each data transfer task. The agent that runs a task must be private. When you start a task that is associated with an agent created in a VPC, or one that has access to an IP address in a VPC, then the task is also private. In this case, DataSync creates four network interfaces for each task in your subnet. For a data transfer to work, the agent must be able to route to all these four network interfaces.
NOTE: This method appends the values to the existing list (if any). Use
setSubnetArns(java.util.Collection)
or withSubnetArns(java.util.Collection)
if you want to
override the existing values.
subnetArns
- The Amazon Resource Names (ARNs) of the subnets in which DataSync will create elastic network interfaces
for each data transfer task. The agent that runs a task must be private. When you start a task that is
associated with an agent created in a VPC, or one that has access to an IP address in a VPC, then the task
is also private. In this case, DataSync creates four network interfaces for each task in your subnet. For
a data transfer to work, the agent must be able to route to all these four network interfaces.public CreateAgentRequest withSubnetArns(Collection<String> subnetArns)
The Amazon Resource Names (ARNs) of the subnets in which DataSync will create elastic network interfaces for each data transfer task. The agent that runs a task must be private. When you start a task that is associated with an agent created in a VPC, or one that has access to an IP address in a VPC, then the task is also private. In this case, DataSync creates four network interfaces for each task in your subnet. For a data transfer to work, the agent must be able to route to all these four network interfaces.
subnetArns
- The Amazon Resource Names (ARNs) of the subnets in which DataSync will create elastic network interfaces
for each data transfer task. The agent that runs a task must be private. When you start a task that is
associated with an agent created in a VPC, or one that has access to an IP address in a VPC, then the task
is also private. In this case, DataSync creates four network interfaces for each task in your subnet. For
a data transfer to work, the agent must be able to route to all these four network interfaces.public List<String> getSecurityGroupArns()
The ARNs of the security groups used to protect your data transfer task subnets. See SecurityGroupArns.
public void setSecurityGroupArns(Collection<String> securityGroupArns)
The ARNs of the security groups used to protect your data transfer task subnets. See SecurityGroupArns.
securityGroupArns
- The ARNs of the security groups used to protect your data transfer task subnets. See SecurityGroupArns.public CreateAgentRequest withSecurityGroupArns(String... securityGroupArns)
The ARNs of the security groups used to protect your data transfer task subnets. See SecurityGroupArns.
NOTE: This method appends the values to the existing list (if any). Use
setSecurityGroupArns(java.util.Collection)
or withSecurityGroupArns(java.util.Collection)
if
you want to override the existing values.
securityGroupArns
- The ARNs of the security groups used to protect your data transfer task subnets. See SecurityGroupArns.public CreateAgentRequest withSecurityGroupArns(Collection<String> securityGroupArns)
The ARNs of the security groups used to protect your data transfer task subnets. See SecurityGroupArns.
securityGroupArns
- The ARNs of the security groups used to protect your data transfer task subnets. See SecurityGroupArns.public String toString()
toString
in class Object
Object.toString()
public CreateAgentRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()