Interface CreateAgentRequest.Builder

    • Method Detail

      • activationKey

        CreateAgentRequest.Builder activationKey​(String activationKey)

        Specifies your DataSync agent's activation key. If you don't have an activation key, see Activating your agent.

        Parameters:
        activationKey - Specifies your DataSync agent's activation key. If you don't have an activation key, see Activating your agent.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • agentName

        CreateAgentRequest.Builder agentName​(String agentName)

        Specifies a name for your agent. We recommend specifying a name that you can remember.

        Parameters:
        agentName - Specifies a name for your agent. We recommend specifying a name that you can remember.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • tags

        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.

        Parameters:
        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.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • tags

        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.

        Parameters:
        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.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • vpcEndpointId

        CreateAgentRequest.Builder vpcEndpointId​(String vpcEndpointId)

        Specifies the ID of the VPC service endpoint that you're using. For example, a VPC endpoint ID looks like vpce-01234d5aff67890e1.

        The VPC service endpoint you use must include the DataSync service name (for example, com.amazonaws.us-east-2.datasync).

        Parameters:
        vpcEndpointId - Specifies the ID of the VPC service endpoint that you're using. For example, a VPC endpoint ID looks like vpce-01234d5aff67890e1.

        The VPC service endpoint you use must include the DataSync service name (for example, com.amazonaws.us-east-2.datasync).

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • subnetArns

        CreateAgentRequest.Builder subnetArns​(Collection<String> subnetArns)

        Specifies the ARN of the subnet where your VPC service endpoint is located. You can only specify one ARN.

        Parameters:
        subnetArns - Specifies the ARN of the subnet where your VPC service endpoint is located. You can only specify one ARN.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • subnetArns

        CreateAgentRequest.Builder subnetArns​(String... subnetArns)

        Specifies the ARN of the subnet where your VPC service endpoint is located. You can only specify one ARN.

        Parameters:
        subnetArns - Specifies the ARN of the subnet where your VPC service endpoint is located. You can only specify one ARN.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • securityGroupArns

        CreateAgentRequest.Builder securityGroupArns​(Collection<String> securityGroupArns)

        Specifies the Amazon Resource Name (ARN) of the security group that allows traffic between your agent and VPC service endpoint. You can only specify one ARN.

        Parameters:
        securityGroupArns - Specifies the Amazon Resource Name (ARN) of the security group that allows traffic between your agent and VPC service endpoint. You can only specify one ARN.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • securityGroupArns

        CreateAgentRequest.Builder securityGroupArns​(String... securityGroupArns)

        Specifies the Amazon Resource Name (ARN) of the security group that allows traffic between your agent and VPC service endpoint. You can only specify one ARN.

        Parameters:
        securityGroupArns - Specifies the Amazon Resource Name (ARN) of the security group that allows traffic between your agent and VPC service endpoint. You can only specify one ARN.
        Returns:
        Returns a reference to this object so that method calls can be chained together.