Interface NetworkInfo.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<NetworkInfo.Builder,
,NetworkInfo> SdkBuilder<NetworkInfo.Builder,
,NetworkInfo> SdkPojo
- Enclosing class:
NetworkInfo
-
Method Summary
Modifier and TypeMethodDescriptionbandwidthWeightings
(Collection<BandwidthWeightingType> bandwidthWeightings) A list of valid settings for configurable bandwidth weighting for the instance type, if supported.bandwidthWeightings
(BandwidthWeightingType... bandwidthWeightings) A list of valid settings for configurable bandwidth weighting for the instance type, if supported.bandwidthWeightingsWithStrings
(String... bandwidthWeightings) A list of valid settings for configurable bandwidth weighting for the instance type, if supported.bandwidthWeightingsWithStrings
(Collection<String> bandwidthWeightings) A list of valid settings for configurable bandwidth weighting for the instance type, if supported.defaultNetworkCardIndex
(Integer defaultNetworkCardIndex) The index of the default network card, starting at 0.default NetworkInfo.Builder
efaInfo
(Consumer<EfaInfo.Builder> efaInfo) Describes the Elastic Fabric Adapters for the instance type.Describes the Elastic Fabric Adapters for the instance type.efaSupported
(Boolean efaSupported) Indicates whether Elastic Fabric Adapter (EFA) is supported.enaSrdSupported
(Boolean enaSrdSupported) Indicates whether the instance type supports ENA Express.enaSupport
(String enaSupport) Indicates whether Elastic Network Adapter (ENA) is supported.enaSupport
(EnaSupport enaSupport) Indicates whether Elastic Network Adapter (ENA) is supported.encryptionInTransitSupported
(Boolean encryptionInTransitSupported) Indicates whether the instance type automatically encrypts in-transit traffic between instances.flexibleEnaQueuesSupport
(String flexibleEnaQueuesSupport) Indicates whether changing the number of ENA queues is supported.flexibleEnaQueuesSupport
(FlexibleEnaQueuesSupport flexibleEnaQueuesSupport) Indicates whether changing the number of ENA queues is supported.ipv4AddressesPerInterface
(Integer ipv4AddressesPerInterface) The maximum number of IPv4 addresses per network interface.ipv6AddressesPerInterface
(Integer ipv6AddressesPerInterface) The maximum number of IPv6 addresses per network interface.ipv6Supported
(Boolean ipv6Supported) Indicates whether IPv6 is supported.maximumNetworkCards
(Integer maximumNetworkCards) The maximum number of physical network cards that can be allocated to the instance.maximumNetworkInterfaces
(Integer maximumNetworkInterfaces) The maximum number of network interfaces for the instance type.networkCards
(Collection<NetworkCardInfo> networkCards) Describes the network cards for the instance type.networkCards
(Consumer<NetworkCardInfo.Builder>... networkCards) Describes the network cards for the instance type.networkCards
(NetworkCardInfo... networkCards) Describes the network cards for the instance type.networkPerformance
(String networkPerformance) The network performance.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
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
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
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
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
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
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
Describes the network cards for the instance type.
This is a convenience method that creates an instance of theNetworkCardInfo.Builder
avoiding the need to create one manually viaNetworkCardInfo.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tonetworkCards(List<NetworkCardInfo>)
.- Parameters:
networkCards
- a consumer that will call methods onNetworkCardInfo.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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
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
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
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
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
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
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
Describes the Elastic Fabric Adapters for the instance type.
This is a convenience method that creates an instance of theEfaInfo.Builder
avoiding the need to create one manually viaEfaInfo.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toefaInfo(EfaInfo)
.- Parameters:
efaInfo
- a consumer that will call methods onEfaInfo.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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
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
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
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
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
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
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
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:
-