Interface NetworkInfo.Builder

  • Method Details

    • networkPerformance

      NetworkInfo.Builder networkPerformance(String networkPerformance)

      The network performance.

      Parameters:
      networkPerformance - The network performance.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • maximumNetworkInterfaces

      NetworkInfo.Builder maximumNetworkInterfaces(Integer maximumNetworkInterfaces)

      The maximum number of network interfaces for the instance type.

      Parameters:
      maximumNetworkInterfaces - The maximum number of network interfaces for the instance type.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • maximumNetworkCards

      NetworkInfo.Builder maximumNetworkCards(Integer maximumNetworkCards)

      The maximum number of physical network cards that can be allocated to the instance.

      Parameters:
      maximumNetworkCards - The maximum number of physical network cards that can be allocated to the instance.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • defaultNetworkCardIndex

      NetworkInfo.Builder defaultNetworkCardIndex(Integer defaultNetworkCardIndex)

      The index of the default network card, starting at 0.

      Parameters:
      defaultNetworkCardIndex - The index of the default network card, starting at 0.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • networkCards

      NetworkInfo.Builder networkCards(Collection<NetworkCardInfo> networkCards)

      Describes the network cards for the instance type.

      Parameters:
      networkCards - Describes the network cards for the instance type.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • networkCards

      NetworkInfo.Builder networkCards(NetworkCardInfo... networkCards)

      Describes the network cards for the instance type.

      Parameters:
      networkCards - Describes the network cards for the instance type.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • networkCards

      NetworkInfo.Builder networkCards(Consumer<NetworkCardInfo.Builder>... networkCards)

      Describes the network cards for the instance type.

      This is a convenience method that creates an instance of the NetworkCardInfo.Builder avoiding the need to create one manually via NetworkCardInfo.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to networkCards(List<NetworkCardInfo>).

      Parameters:
      networkCards - a consumer that will call methods on NetworkCardInfo.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • ipv4AddressesPerInterface

      NetworkInfo.Builder ipv4AddressesPerInterface(Integer ipv4AddressesPerInterface)

      The maximum number of IPv4 addresses per network interface.

      Parameters:
      ipv4AddressesPerInterface - The maximum number of IPv4 addresses per network interface.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • ipv6AddressesPerInterface

      NetworkInfo.Builder ipv6AddressesPerInterface(Integer ipv6AddressesPerInterface)

      The maximum number of IPv6 addresses per network interface.

      Parameters:
      ipv6AddressesPerInterface - The maximum number of IPv6 addresses per network interface.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • ipv6Supported

      NetworkInfo.Builder ipv6Supported(Boolean ipv6Supported)

      Indicates whether IPv6 is supported.

      Parameters:
      ipv6Supported - Indicates whether IPv6 is supported.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • enaSupport

      NetworkInfo.Builder enaSupport(String enaSupport)

      Indicates whether Elastic Network Adapter (ENA) is supported.

      Parameters:
      enaSupport - Indicates whether Elastic Network Adapter (ENA) is supported.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • enaSupport

      NetworkInfo.Builder enaSupport(EnaSupport enaSupport)

      Indicates whether Elastic Network Adapter (ENA) is supported.

      Parameters:
      enaSupport - Indicates whether Elastic Network Adapter (ENA) is supported.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • efaSupported

      NetworkInfo.Builder efaSupported(Boolean efaSupported)

      Indicates whether Elastic Fabric Adapter (EFA) is supported.

      Parameters:
      efaSupported - Indicates whether Elastic Fabric Adapter (EFA) is supported.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • efaInfo

      NetworkInfo.Builder efaInfo(EfaInfo efaInfo)

      Describes the Elastic Fabric Adapters for the instance type.

      Parameters:
      efaInfo - Describes the Elastic Fabric Adapters for the instance type.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • efaInfo

      default NetworkInfo.Builder efaInfo(Consumer<EfaInfo.Builder> efaInfo)

      Describes the Elastic Fabric Adapters for the instance type.

      This is a convenience method that creates an instance of the EfaInfo.Builder avoiding the need to create one manually via EfaInfo.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to efaInfo(EfaInfo).

      Parameters:
      efaInfo - a consumer that will call methods on EfaInfo.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • encryptionInTransitSupported

      NetworkInfo.Builder encryptionInTransitSupported(Boolean encryptionInTransitSupported)

      Indicates whether the instance type automatically encrypts in-transit traffic between instances.

      Parameters:
      encryptionInTransitSupported - Indicates whether the instance type automatically encrypts in-transit traffic between instances.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • enaSrdSupported

      NetworkInfo.Builder enaSrdSupported(Boolean enaSrdSupported)

      Indicates whether the instance type supports ENA Express. ENA Express uses Amazon Web Services Scalable Reliable Datagram (SRD) technology to increase the maximum bandwidth used per stream and minimize tail latency of network traffic between EC2 instances.

      Parameters:
      enaSrdSupported - Indicates whether the instance type supports ENA Express. ENA Express uses Amazon Web Services Scalable Reliable Datagram (SRD) technology to increase the maximum bandwidth used per stream and minimize tail latency of network traffic between EC2 instances.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • bandwidthWeightingsWithStrings

      NetworkInfo.Builder bandwidthWeightingsWithStrings(Collection<String> bandwidthWeightings)

      A list of valid settings for configurable bandwidth weighting for the instance type, if supported.

      Parameters:
      bandwidthWeightings - A list of valid settings for configurable bandwidth weighting for the instance type, if supported.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • bandwidthWeightingsWithStrings

      NetworkInfo.Builder bandwidthWeightingsWithStrings(String... bandwidthWeightings)

      A list of valid settings for configurable bandwidth weighting for the instance type, if supported.

      Parameters:
      bandwidthWeightings - A list of valid settings for configurable bandwidth weighting for the instance type, if supported.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • bandwidthWeightings

      NetworkInfo.Builder bandwidthWeightings(Collection<BandwidthWeightingType> bandwidthWeightings)

      A list of valid settings for configurable bandwidth weighting for the instance type, if supported.

      Parameters:
      bandwidthWeightings - A list of valid settings for configurable bandwidth weighting for the instance type, if supported.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • bandwidthWeightings

      NetworkInfo.Builder bandwidthWeightings(BandwidthWeightingType... bandwidthWeightings)

      A list of valid settings for configurable bandwidth weighting for the instance type, if supported.

      Parameters:
      bandwidthWeightings - A list of valid settings for configurable bandwidth weighting for the instance type, if supported.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • flexibleEnaQueuesSupport

      NetworkInfo.Builder flexibleEnaQueuesSupport(String flexibleEnaQueuesSupport)

      Indicates whether changing the number of ENA queues is supported.

      Parameters:
      flexibleEnaQueuesSupport - Indicates whether changing the number of ENA queues is supported.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • flexibleEnaQueuesSupport

      NetworkInfo.Builder flexibleEnaQueuesSupport(FlexibleEnaQueuesSupport flexibleEnaQueuesSupport)

      Indicates whether changing the number of ENA queues is supported.

      Parameters:
      flexibleEnaQueuesSupport - Indicates whether changing the number of ENA queues is supported.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: