Interface AttachClassicLinkVpcRequest.Builder

    • Method Detail

      • dryRun

        AttachClassicLinkVpcRequest.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.
      • groups

        AttachClassicLinkVpcRequest.Builder groups​(Collection<String> groups)

        The IDs of the security groups. You cannot specify security groups from a different VPC.

        Parameters:
        groups - The IDs of the security groups. You cannot specify security groups from a different VPC.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • groups

        AttachClassicLinkVpcRequest.Builder groups​(String... groups)

        The IDs of the security groups. You cannot specify security groups from a different VPC.

        Parameters:
        groups - The IDs of the security groups. You cannot specify security groups from a different VPC.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • instanceId

        AttachClassicLinkVpcRequest.Builder instanceId​(String instanceId)

        The ID of the EC2-Classic instance.

        Parameters:
        instanceId - The ID of the EC2-Classic instance.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • vpcId

        AttachClassicLinkVpcRequest.Builder vpcId​(String vpcId)

        The ID of the ClassicLink-enabled VPC.

        Parameters:
        vpcId - The ID of the ClassicLink-enabled VPC.
        Returns:
        Returns a reference to this object so that method calls can be chained together.