Class AgentState.Builder

  • Enclosing class:
    AgentState

    public static final class AgentState.Builder
    extends java.lang.Object
    • Constructor Detail

      • Builder

        public Builder()
      • Builder

        public Builder​(AgentState defaults)
    • Method Detail

      • activationKey

        public AgentState.Builder activationKey​(@Nullable
                                                com.pulumi.core.Output<java.lang.String> activationKey)
        Parameters:
        activationKey - DataSync Agent activation key during resource creation. Conflicts with `ipAddress`. If an `ipAddress` is provided instead, the provider will retrieve the `activationKey` as part of the resource creation.
        Returns:
        builder
      • activationKey

        public AgentState.Builder activationKey​(java.lang.String activationKey)
        Parameters:
        activationKey - DataSync Agent activation key during resource creation. Conflicts with `ipAddress`. If an `ipAddress` is provided instead, the provider will retrieve the `activationKey` as part of the resource creation.
        Returns:
        builder
      • arn

        public AgentState.Builder arn​(@Nullable
                                      com.pulumi.core.Output<java.lang.String> arn)
        Parameters:
        arn - ARN of the DataSync Agent.
        Returns:
        builder
      • arn

        public AgentState.Builder arn​(java.lang.String arn)
        Parameters:
        arn - ARN of the DataSync Agent.
        Returns:
        builder
      • ipAddress

        public AgentState.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 `activationKey`. DataSync Agent must be accessible on port 80 from where the provider is running.
        Returns:
        builder
      • ipAddress

        public AgentState.Builder ipAddress​(java.lang.String ipAddress)
        Parameters:
        ipAddress - DataSync Agent IP address to retrieve activation key during resource creation. Conflicts with `activationKey`. DataSync Agent must be accessible on port 80 from where the provider is running.
        Returns:
        builder
      • name

        public AgentState.Builder name​(@Nullable
                                       com.pulumi.core.Output<java.lang.String> name)
        Parameters:
        name - Name of the DataSync Agent.
        Returns:
        builder
      • name

        public AgentState.Builder name​(java.lang.String name)
        Parameters:
        name - Name of the DataSync Agent.
        Returns:
        builder
      • privateLinkEndpoint

        public AgentState.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 `activationKey`.
        Returns:
        builder
      • privateLinkEndpoint

        public AgentState.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 `activationKey`.
        Returns:
        builder
      • region

        public AgentState.Builder region​(@Nullable
                                         com.pulumi.core.Output<java.lang.String> region)
        Parameters:
        region - Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
        Returns:
        builder
      • region

        public AgentState.Builder region​(java.lang.String region)
        Parameters:
        region - Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
        Returns:
        builder
      • securityGroupArns

        public AgentState.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 AgentState.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 AgentState.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 AgentState.Builder subnetArns​(@Nullable
                                             com.pulumi.core.Output<java.util.List<java.lang.String>> subnetArns)
        Parameters:
        subnetArns - ARNs of the subnets in which DataSync will create elastic network interfaces for each data transfer task.
        Returns:
        builder
      • subnetArns

        public AgentState.Builder subnetArns​(java.util.List<java.lang.String> subnetArns)
        Parameters:
        subnetArns - ARNs of the subnets in which DataSync will create elastic network interfaces for each data transfer task.
        Returns:
        builder
      • subnetArns

        public AgentState.Builder subnetArns​(java.lang.String... subnetArns)
        Parameters:
        subnetArns - ARNs of the subnets in which DataSync will create elastic network interfaces for each data transfer task.
        Returns:
        builder
      • tags

        public AgentState.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 `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
        Returns:
        builder
      • tags

        public AgentState.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 `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
        Returns:
        builder
      • tagsAll

        public AgentState.Builder tagsAll​(@Nullable
                                          com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.String>> tagsAll)
        Parameters:
        tagsAll - A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
        Returns:
        builder
      • tagsAll

        public AgentState.Builder tagsAll​(java.util.Map<java.lang.String,​java.lang.String> tagsAll)
        Parameters:
        tagsAll - A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
        Returns:
        builder
      • vpcEndpointId

        public AgentState.Builder vpcEndpointId​(@Nullable
                                                com.pulumi.core.Output<java.lang.String> vpcEndpointId)
        Parameters:
        vpcEndpointId - ID of the VPC endpoint that the agent has access to.
        Returns:
        builder
      • vpcEndpointId

        public AgentState.Builder vpcEndpointId​(java.lang.String vpcEndpointId)
        Parameters:
        vpcEndpointId - ID of the VPC endpoint that the agent has access to.
        Returns:
        builder