public static interface CreateAgentRequest.Builder extends DataSyncRequest.Builder, SdkPojo, CopyableBuilder<CreateAgentRequest.Builder,CreateAgentRequest>
| Modifier and Type | Method and Description |
|---|---|
CreateAgentRequest.Builder |
activationKey(String activationKey)
Specifies your DataSync agent's activation key.
|
CreateAgentRequest.Builder |
agentName(String agentName)
Specifies a name for your agent.
|
CreateAgentRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
CreateAgentRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
CreateAgentRequest.Builder |
securityGroupArns(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.Builder |
securityGroupArns(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.Builder |
subnetArns(Collection<String> subnetArns)
Specifies the ARN of the subnet where you want to run your DataSync task when using a VPC endpoint.
|
CreateAgentRequest.Builder |
subnetArns(String... subnetArns)
Specifies the ARN of the subnet where you want to run your DataSync task when using a VPC endpoint.
|
CreateAgentRequest.Builder |
tags(Collection<TagListEntry> tags)
Specifies labels that help you categorize, filter, and search for your Amazon Web Services resources.
|
CreateAgentRequest.Builder |
tags(Consumer<TagListEntry.Builder>... tags)
Specifies labels that help you categorize, filter, and search for your Amazon Web Services resources.
|
CreateAgentRequest.Builder |
tags(TagListEntry... tags)
Specifies labels that help you categorize, filter, and search for your Amazon Web Services resources.
|
CreateAgentRequest.Builder |
vpcEndpointId(String vpcEndpointId)
Specifies the ID of the VPC endpoint that you want your agent to connect to.
|
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildCreateAgentRequest.Builder activationKey(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.CreateAgentRequest.Builder agentName(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.CreateAgentRequest.Builder tags(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.CreateAgentRequest.Builder tags(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.CreateAgentRequest.Builder tags(Consumer<TagListEntry.Builder>... 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.
This is a convenience method that creates an instance of theTagListEntry.Builder avoiding the need to create one
manually via TagListEntry.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately and
its result is passed to #tags(List.
tags - a consumer that will call methods on
TagListEntry.Builder#tags(java.util.Collection) CreateAgentRequest.Builder vpcEndpointId(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).
CreateAgentRequest.Builder subnetArns(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.CreateAgentRequest.Builder subnetArns(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.CreateAgentRequest.Builder securityGroupArns(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.CreateAgentRequest.Builder securityGroupArns(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.CreateAgentRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderCreateAgentRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2023. All rights reserved.