Interface CreateInstanceConnectEndpointRequest.Builder

    • Method Detail

      • dryRun

        CreateInstanceConnectEndpointRequest.Builder dryRun​(Boolean dryRun)

        Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

        Parameters:
        dryRun - Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • subnetId

        CreateInstanceConnectEndpointRequest.Builder subnetId​(String subnetId)

        The ID of the subnet in which to create the EC2 Instance Connect Endpoint.

        Parameters:
        subnetId - The ID of the subnet in which to create the EC2 Instance Connect Endpoint.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • securityGroupIds

        CreateInstanceConnectEndpointRequest.Builder securityGroupIds​(Collection<String> securityGroupIds)

        One or more security groups to associate with the endpoint. If you don't specify a security group, the default security group for your VPC will be associated with the endpoint.

        Parameters:
        securityGroupIds - One or more security groups to associate with the endpoint. If you don't specify a security group, the default security group for your VPC will be associated with the endpoint.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • securityGroupIds

        CreateInstanceConnectEndpointRequest.Builder securityGroupIds​(String... securityGroupIds)

        One or more security groups to associate with the endpoint. If you don't specify a security group, the default security group for your VPC will be associated with the endpoint.

        Parameters:
        securityGroupIds - One or more security groups to associate with the endpoint. If you don't specify a security group, the default security group for your VPC will be associated with the endpoint.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • preserveClientIp

        CreateInstanceConnectEndpointRequest.Builder preserveClientIp​(Boolean preserveClientIp)

        Indicates whether your client's IP address is preserved as the source. The value is true or false.

        • If true, your client's IP address is used when you connect to a resource.

        • If false, the elastic network interface IP address is used when you connect to a resource.

        Default: true

        Parameters:
        preserveClientIp - Indicates whether your client's IP address is preserved as the source. The value is true or false.

        • If true, your client's IP address is used when you connect to a resource.

        • If false, the elastic network interface IP address is used when you connect to a resource.

        Default: true

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

        CreateInstanceConnectEndpointRequest.Builder clientToken​(String clientToken)

        Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.

        Parameters:
        clientToken - Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • tagSpecifications

        CreateInstanceConnectEndpointRequest.Builder tagSpecifications​(Collection<TagSpecification> tagSpecifications)

        The tags to apply to the EC2 Instance Connect Endpoint during creation.

        Parameters:
        tagSpecifications - The tags to apply to the EC2 Instance Connect Endpoint during creation.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • tagSpecifications

        CreateInstanceConnectEndpointRequest.Builder tagSpecifications​(TagSpecification... tagSpecifications)

        The tags to apply to the EC2 Instance Connect Endpoint during creation.

        Parameters:
        tagSpecifications - The tags to apply to the EC2 Instance Connect Endpoint during creation.
        Returns:
        Returns a reference to this object so that method calls can be chained together.