Interface AttachNetworkInterfaceRequest.Builder

    • Method Detail

      • networkCardIndex

        AttachNetworkInterfaceRequest.Builder networkCardIndex​(Integer networkCardIndex)

        The index of the network card. Some instance types support multiple network cards. The primary network interface must be assigned to network card index 0. The default is network card index 0.

        Parameters:
        networkCardIndex - The index of the network card. Some instance types support multiple network cards. The primary network interface must be assigned to network card index 0. The default is network card index 0.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • enaSrdSpecification

        AttachNetworkInterfaceRequest.Builder enaSrdSpecification​(EnaSrdSpecification enaSrdSpecification)

        Configures ENA Express for the network interface that this action attaches to the instance.

        Parameters:
        enaSrdSpecification - Configures ENA Express for the network interface that this action attaches to the instance.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • enaQueueCount

        AttachNetworkInterfaceRequest.Builder enaQueueCount​(Integer enaQueueCount)

        The number of ENA queues to be created with the instance.

        Parameters:
        enaQueueCount - The number of ENA queues to be created with the instance.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • dryRun

        AttachNetworkInterfaceRequest.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.
      • networkInterfaceId

        AttachNetworkInterfaceRequest.Builder networkInterfaceId​(String networkInterfaceId)

        The ID of the network interface.

        Parameters:
        networkInterfaceId - The ID of the network interface.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • instanceId

        AttachNetworkInterfaceRequest.Builder instanceId​(String instanceId)

        The ID of the instance.

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

        AttachNetworkInterfaceRequest.Builder deviceIndex​(Integer deviceIndex)

        The index of the device for the network interface attachment.

        Parameters:
        deviceIndex - The index of the device for the network interface attachment.
        Returns:
        Returns a reference to this object so that method calls can be chained together.