Package com.pulumi.aws.datasync
Class AgentArgs.Builder
- java.lang.Object
-
- com.pulumi.aws.datasync.AgentArgs.Builder
-
- Enclosing class:
- AgentArgs
public static final class AgentArgs.Builder extends java.lang.Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AgentArgs.Builder
activationKey(com.pulumi.core.Output<java.lang.String> activationKey)
AgentArgs.Builder
activationKey(java.lang.String activationKey)
AgentArgs
build()
AgentArgs.Builder
ipAddress(com.pulumi.core.Output<java.lang.String> ipAddress)
AgentArgs.Builder
ipAddress(java.lang.String ipAddress)
AgentArgs.Builder
name(com.pulumi.core.Output<java.lang.String> name)
AgentArgs.Builder
name(java.lang.String name)
AgentArgs.Builder
privateLinkEndpoint(com.pulumi.core.Output<java.lang.String> privateLinkEndpoint)
AgentArgs.Builder
privateLinkEndpoint(java.lang.String privateLinkEndpoint)
AgentArgs.Builder
securityGroupArns(com.pulumi.core.Output<java.util.List<java.lang.String>> securityGroupArns)
AgentArgs.Builder
securityGroupArns(java.lang.String... securityGroupArns)
AgentArgs.Builder
securityGroupArns(java.util.List<java.lang.String> securityGroupArns)
AgentArgs.Builder
subnetArns(com.pulumi.core.Output<java.util.List<java.lang.String>> subnetArns)
AgentArgs.Builder
subnetArns(java.lang.String... subnetArns)
AgentArgs.Builder
subnetArns(java.util.List<java.lang.String> subnetArns)
AgentArgs.Builder
tags(com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.String>> tags)
AgentArgs.Builder
tags(java.util.Map<java.lang.String,java.lang.String> tags)
AgentArgs.Builder
vpcEndpointId(com.pulumi.core.Output<java.lang.String> vpcEndpointId)
AgentArgs.Builder
vpcEndpointId(java.lang.String vpcEndpointId)
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(AgentArgs defaults)
-
-
Method Detail
-
activationKey
public AgentArgs.Builder activationKey(@Nullable com.pulumi.core.Output<java.lang.String> activationKey)
- Parameters:
activationKey
- DataSync Agent activation key during resource creation. Conflicts with `ip_address`. If an `ip_address` is provided instead, the provider will retrieve the `activation_key` as part of the resource creation.- Returns:
- builder
-
activationKey
public AgentArgs.Builder activationKey(java.lang.String activationKey)
- Parameters:
activationKey
- DataSync Agent activation key during resource creation. Conflicts with `ip_address`. If an `ip_address` is provided instead, the provider will retrieve the `activation_key` as part of the resource creation.- Returns:
- builder
-
ipAddress
public AgentArgs.Builder ipAddress(@Nullable com.pulumi.core.Output<java.lang.String> ipAddress)
- Parameters:
ipAddress
- DataSync Agent IP address to retrieve activation key during resource creation. Conflicts with `activation_key`. DataSync Agent must be accessible on port 80 from where the provider is running.- Returns:
- builder
-
ipAddress
public AgentArgs.Builder ipAddress(java.lang.String ipAddress)
- Parameters:
ipAddress
- DataSync Agent IP address to retrieve activation key during resource creation. Conflicts with `activation_key`. DataSync Agent must be accessible on port 80 from where the provider is running.- Returns:
- builder
-
name
public AgentArgs.Builder name(@Nullable com.pulumi.core.Output<java.lang.String> name)
- Parameters:
name
- Name of the DataSync Agent.- Returns:
- builder
-
name
public AgentArgs.Builder name(java.lang.String name)
- Parameters:
name
- Name of the DataSync Agent.- Returns:
- builder
-
privateLinkEndpoint
public AgentArgs.Builder privateLinkEndpoint(@Nullable com.pulumi.core.Output<java.lang.String> privateLinkEndpoint)
- Parameters:
privateLinkEndpoint
- The IP address of the VPC endpoint the agent should connect to when retrieving an activation key during resource creation. Conflicts with `activation_key`.- Returns:
- builder
-
privateLinkEndpoint
public AgentArgs.Builder privateLinkEndpoint(java.lang.String privateLinkEndpoint)
- Parameters:
privateLinkEndpoint
- The IP address of the VPC endpoint the agent should connect to when retrieving an activation key during resource creation. Conflicts with `activation_key`.- Returns:
- builder
-
securityGroupArns
public AgentArgs.Builder securityGroupArns(@Nullable com.pulumi.core.Output<java.util.List<java.lang.String>> securityGroupArns)
- Parameters:
securityGroupArns
- The ARNs of the security groups used to protect your data transfer task subnets.- Returns:
- builder
-
securityGroupArns
public AgentArgs.Builder securityGroupArns(java.util.List<java.lang.String> securityGroupArns)
- Parameters:
securityGroupArns
- The ARNs of the security groups used to protect your data transfer task subnets.- Returns:
- builder
-
securityGroupArns
public AgentArgs.Builder securityGroupArns(java.lang.String... securityGroupArns)
- Parameters:
securityGroupArns
- The ARNs of the security groups used to protect your data transfer task subnets.- Returns:
- builder
-
subnetArns
public AgentArgs.Builder subnetArns(@Nullable com.pulumi.core.Output<java.util.List<java.lang.String>> subnetArns)
- Parameters:
subnetArns
- The Amazon Resource Names (ARNs) of the subnets in which DataSync will create elastic network interfaces for each data transfer task.- Returns:
- builder
-
subnetArns
public AgentArgs.Builder subnetArns(java.util.List<java.lang.String> subnetArns)
- Parameters:
subnetArns
- The Amazon Resource Names (ARNs) of the subnets in which DataSync will create elastic network interfaces for each data transfer task.- Returns:
- builder
-
subnetArns
public AgentArgs.Builder subnetArns(java.lang.String... subnetArns)
- Parameters:
subnetArns
- The Amazon Resource Names (ARNs) of the subnets in which DataSync will create elastic network interfaces for each data transfer task.- Returns:
- builder
-
tags
public AgentArgs.Builder tags(@Nullable com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.String>> tags)
- Parameters:
tags
- Key-value pairs of resource tags to assign to the DataSync Agent. If configured with a provider `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.- Returns:
- builder
-
tags
public AgentArgs.Builder tags(java.util.Map<java.lang.String,java.lang.String> tags)
- Parameters:
tags
- Key-value pairs of resource tags to assign to the DataSync Agent. If configured with a provider `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.- Returns:
- builder
-
vpcEndpointId
public AgentArgs.Builder vpcEndpointId(@Nullable com.pulumi.core.Output<java.lang.String> vpcEndpointId)
- Parameters:
vpcEndpointId
- The ID of the VPC (virtual private cloud) endpoint that the agent has access to.- Returns:
- builder
-
vpcEndpointId
public AgentArgs.Builder vpcEndpointId(java.lang.String vpcEndpointId)
- Parameters:
vpcEndpointId
- The ID of the VPC (virtual private cloud) endpoint that the agent has access to.- Returns:
- builder
-
build
public AgentArgs build()
-
-