@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()
Specifies your DataSync agent's activation key.
|
String |
getAgentName()
Specifies a name for your agent.
|
List<String> |
getSecurityGroupArns()
Specifies the Amazon Resource Name (ARN) of the security group that protects your task's network interfaces when using a virtual private cloud (VPC) endpoint.
|
List<String> |
getSubnetArns()
Specifies the ARN of the subnet where you want to run your DataSync task when using a VPC endpoint.
|
List<TagListEntry> |
getTags()
Specifies labels that help you categorize, filter, and search for your Amazon Web Services resources.
|
String |
getVpcEndpointId()
Specifies the ID of the VPC endpoint that you want your agent to connect to.
|
int |
hashCode() |
void |
setActivationKey(String activationKey)
Specifies your DataSync agent's activation key.
|
void |
setAgentName(String agentName)
Specifies a name for your agent.
|
void |
setSecurityGroupArns(Collection<String> securityGroupArns)
Specifies the Amazon Resource Name (ARN) of the security group that protects your task's network interfaces when using a virtual private cloud (VPC) endpoint.
|
void |
setSubnetArns(Collection<String> subnetArns)
Specifies the ARN of the subnet where you want to run your DataSync task when using a VPC endpoint.
|
void |
setTags(Collection<TagListEntry> tags)
Specifies labels that help you categorize, filter, and search for your Amazon Web Services resources.
|
void |
setVpcEndpointId(String vpcEndpointId)
Specifies the ID of the VPC endpoint that you want your agent to connect to.
|
String |
toString()
Returns a string representation of this object.
|
CreateAgentRequest |
withActivationKey(String activationKey)
Specifies your DataSync agent's activation key.
|
CreateAgentRequest |
withAgentName(String agentName)
Specifies a name for your agent.
|
CreateAgentRequest |
withSecurityGroupArns(Collection<String> securityGroupArns)
Specifies the Amazon Resource Name (ARN) of the security group that protects your task's network interfaces when using a virtual private cloud (VPC) endpoint.
|
CreateAgentRequest |
withSecurityGroupArns(String... securityGroupArns)
Specifies the Amazon Resource Name (ARN) of the security group that protects your task's network interfaces when using a virtual private cloud (VPC) endpoint.
|
CreateAgentRequest |
withSubnetArns(Collection<String> subnetArns)
Specifies the ARN of the subnet where you want to run your DataSync task when using a VPC endpoint.
|
CreateAgentRequest |
withSubnetArns(String... subnetArns)
Specifies the ARN of the subnet where you want to run your DataSync task when using a VPC endpoint.
|
CreateAgentRequest |
withTags(Collection<TagListEntry> tags)
Specifies labels that help you categorize, filter, and search for your Amazon Web Services resources.
|
CreateAgentRequest |
withTags(TagListEntry... tags)
Specifies labels that help you categorize, filter, and search for your Amazon Web Services resources.
|
CreateAgentRequest |
withVpcEndpointId(String vpcEndpointId)
Specifies the ID of the VPC endpoint that you want your agent to connect 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)
Specifies your DataSync agent's activation key. If you don't have an activation key, see Activate your agent.
activationKey
- Specifies your DataSync agent's activation key. If you don't have an activation key, see Activate your agent.public String getActivationKey()
Specifies your DataSync agent's activation key. If you don't have an activation key, see Activate your agent.
public CreateAgentRequest withActivationKey(String activationKey)
Specifies your DataSync agent's activation key. If you don't have an activation key, see Activate your agent.
activationKey
- Specifies your DataSync agent's activation key. If you don't have an activation key, see Activate your agent.public void setAgentName(String agentName)
Specifies a name for your agent. You can see this name in the DataSync console.
agentName
- Specifies a name for your agent. You can see this name in the DataSync console.public String getAgentName()
Specifies a name for your agent. You can see this name in the DataSync console.
public CreateAgentRequest withAgentName(String agentName)
Specifies a name for your agent. You can see this name in the DataSync console.
agentName
- Specifies a name for your agent. You can see this name in the DataSync console.public List<TagListEntry> getTags()
Specifies labels that help you categorize, filter, and search for your Amazon Web Services resources. We recommend creating at least one tag for your agent.
public void setTags(Collection<TagListEntry> tags)
Specifies labels that help you categorize, filter, and search for your Amazon Web Services resources. We recommend creating at least one tag for your agent.
tags
- Specifies labels that help you categorize, filter, and search for your Amazon Web Services resources. We
recommend creating at least one tag for your agent.public CreateAgentRequest withTags(TagListEntry... tags)
Specifies labels that help you categorize, filter, and search for your Amazon Web Services resources. We recommend creating at least one tag for your agent.
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
- Specifies labels that help you categorize, filter, and search for your Amazon Web Services resources. We
recommend creating at least one tag for your agent.public CreateAgentRequest withTags(Collection<TagListEntry> tags)
Specifies labels that help you categorize, filter, and search for your Amazon Web Services resources. We recommend creating at least one tag for your agent.
tags
- Specifies labels that help you categorize, filter, and search for your Amazon Web Services resources. We
recommend creating at least one tag for your agent.public void setVpcEndpointId(String vpcEndpointId)
Specifies the ID of the VPC endpoint that you want your agent to connect to. For example, a VPC endpoint ID looks
like vpce-01234d5aff67890e1
.
The VPC endpoint you use must include the DataSync service name (for example,
com.amazonaws.us-east-2.datasync
).
vpcEndpointId
- Specifies the ID of the VPC endpoint that you want your agent to connect to. For example, a VPC endpoint
ID looks like vpce-01234d5aff67890e1
.
The VPC endpoint you use must include the DataSync service name (for example,
com.amazonaws.us-east-2.datasync
).
public String getVpcEndpointId()
Specifies the ID of the VPC endpoint that you want your agent to connect to. For example, a VPC endpoint ID looks
like vpce-01234d5aff67890e1
.
The VPC endpoint you use must include the DataSync service name (for example,
com.amazonaws.us-east-2.datasync
).
vpce-01234d5aff67890e1
.
The VPC endpoint you use must include the DataSync service name (for example,
com.amazonaws.us-east-2.datasync
).
public CreateAgentRequest withVpcEndpointId(String vpcEndpointId)
Specifies the ID of the VPC endpoint that you want your agent to connect to. For example, a VPC endpoint ID looks
like vpce-01234d5aff67890e1
.
The VPC endpoint you use must include the DataSync service name (for example,
com.amazonaws.us-east-2.datasync
).
vpcEndpointId
- Specifies the ID of the VPC endpoint that you want your agent to connect to. For example, a VPC endpoint
ID looks like vpce-01234d5aff67890e1
.
The VPC endpoint you use must include the DataSync service name (for example,
com.amazonaws.us-east-2.datasync
).
public List<String> getSubnetArns()
Specifies the ARN of the subnet where you want to run your DataSync task when using a VPC endpoint. This is the subnet where DataSync creates and manages the network interfaces for your transfer. You can only specify one ARN.
public void setSubnetArns(Collection<String> subnetArns)
Specifies the ARN of the subnet where you want to run your DataSync task when using a VPC endpoint. This is the subnet where DataSync creates and manages the network interfaces for your transfer. You can only specify one ARN.
subnetArns
- Specifies the ARN of the subnet where you want to run your DataSync task when using a VPC endpoint. This
is the subnet where DataSync creates and manages the network interfaces for your transfer. You can only specify one ARN.public CreateAgentRequest withSubnetArns(String... subnetArns)
Specifies the ARN of the subnet where you want to run your DataSync task when using a VPC endpoint. This is the subnet where DataSync creates and manages the network interfaces for your transfer. You can only specify one ARN.
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
- Specifies the ARN of the subnet where you want to run your DataSync task when using a VPC endpoint. This
is the subnet where DataSync creates and manages the network interfaces for your transfer. You can only specify one ARN.public CreateAgentRequest withSubnetArns(Collection<String> subnetArns)
Specifies the ARN of the subnet where you want to run your DataSync task when using a VPC endpoint. This is the subnet where DataSync creates and manages the network interfaces for your transfer. You can only specify one ARN.
subnetArns
- Specifies the ARN of the subnet where you want to run your DataSync task when using a VPC endpoint. This
is the subnet where DataSync creates and manages the network interfaces for your transfer. You can only specify one ARN.public List<String> getSecurityGroupArns()
Specifies the Amazon Resource Name (ARN) of the security group that protects your task's network interfaces when using a virtual private cloud (VPC) endpoint. You can only specify one ARN.
public void setSecurityGroupArns(Collection<String> securityGroupArns)
Specifies the Amazon Resource Name (ARN) of the security group that protects your task's network interfaces when using a virtual private cloud (VPC) endpoint. You can only specify one ARN.
securityGroupArns
- Specifies the Amazon Resource Name (ARN) of the security group that protects your task's network interfaces when using a virtual private cloud (VPC) endpoint. You can only specify one ARN.public CreateAgentRequest withSecurityGroupArns(String... securityGroupArns)
Specifies the Amazon Resource Name (ARN) of the security group that protects your task's network interfaces when using a virtual private cloud (VPC) endpoint. You can only specify one ARN.
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
- Specifies the Amazon Resource Name (ARN) of the security group that protects your task's network interfaces when using a virtual private cloud (VPC) endpoint. You can only specify one ARN.public CreateAgentRequest withSecurityGroupArns(Collection<String> securityGroupArns)
Specifies the Amazon Resource Name (ARN) of the security group that protects your task's network interfaces when using a virtual private cloud (VPC) endpoint. You can only specify one ARN.
securityGroupArns
- Specifies the Amazon Resource Name (ARN) of the security group that protects your task's network interfaces when using a virtual private cloud (VPC) endpoint. You can only specify one ARN.public String toString()
toString
in class Object
Object.toString()
public CreateAgentRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()