Interface NetworkInfo.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<NetworkInfo.Builder,NetworkInfo>,SdkBuilder<NetworkInfo.Builder,NetworkInfo>,SdkPojo
- Enclosing class:
- NetworkInfo
@Mutable @NotThreadSafe public static interface NetworkInfo.Builder extends SdkPojo, CopyableBuilder<NetworkInfo.Builder,NetworkInfo>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description NetworkInfo.BuilderbandwidthWeightings(Collection<BandwidthWeightingType> bandwidthWeightings)A list of valid settings for configurable bandwidth weighting for the instance type, if supported.NetworkInfo.BuilderbandwidthWeightings(BandwidthWeightingType... bandwidthWeightings)A list of valid settings for configurable bandwidth weighting for the instance type, if supported.NetworkInfo.BuilderbandwidthWeightingsWithStrings(String... bandwidthWeightings)A list of valid settings for configurable bandwidth weighting for the instance type, if supported.NetworkInfo.BuilderbandwidthWeightingsWithStrings(Collection<String> bandwidthWeightings)A list of valid settings for configurable bandwidth weighting for the instance type, if supported.NetworkInfo.BuilderdefaultNetworkCardIndex(Integer defaultNetworkCardIndex)The index of the default network card, starting at 0.default NetworkInfo.BuilderefaInfo(Consumer<EfaInfo.Builder> efaInfo)Describes the Elastic Fabric Adapters for the instance type.NetworkInfo.BuilderefaInfo(EfaInfo efaInfo)Describes the Elastic Fabric Adapters for the instance type.NetworkInfo.BuilderefaSupported(Boolean efaSupported)Indicates whether Elastic Fabric Adapter (EFA) is supported.NetworkInfo.BuilderenaSrdSupported(Boolean enaSrdSupported)Indicates whether the instance type supports ENA Express.NetworkInfo.BuilderenaSupport(String enaSupport)Indicates whether Elastic Network Adapter (ENA) is supported.NetworkInfo.BuilderenaSupport(EnaSupport enaSupport)Indicates whether Elastic Network Adapter (ENA) is supported.NetworkInfo.BuilderencryptionInTransitSupported(Boolean encryptionInTransitSupported)Indicates whether the instance type automatically encrypts in-transit traffic between instances.NetworkInfo.BuilderflexibleEnaQueuesSupport(String flexibleEnaQueuesSupport)Indicates whether changing the number of ENA queues is supported.NetworkInfo.BuilderflexibleEnaQueuesSupport(FlexibleEnaQueuesSupport flexibleEnaQueuesSupport)Indicates whether changing the number of ENA queues is supported.NetworkInfo.Builderipv4AddressesPerInterface(Integer ipv4AddressesPerInterface)The maximum number of IPv4 addresses per network interface.NetworkInfo.Builderipv6AddressesPerInterface(Integer ipv6AddressesPerInterface)The maximum number of IPv6 addresses per network interface.NetworkInfo.Builderipv6Supported(Boolean ipv6Supported)Indicates whether IPv6 is supported.NetworkInfo.BuildermaximumNetworkCards(Integer maximumNetworkCards)The maximum number of physical network cards that can be allocated to the instance.NetworkInfo.BuildermaximumNetworkInterfaces(Integer maximumNetworkInterfaces)The maximum number of network interfaces for the instance type.NetworkInfo.BuildernetworkCards(Collection<NetworkCardInfo> networkCards)Describes the network cards for the instance type.NetworkInfo.BuildernetworkCards(Consumer<NetworkCardInfo.Builder>... networkCards)Describes the network cards for the instance type.NetworkInfo.BuildernetworkCards(NetworkCardInfo... networkCards)Describes the network cards for the instance type.NetworkInfo.BuildernetworkPerformance(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 Detail
-
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 theNetworkCardInfo.Builderavoiding the need to create one manually viaNetworkCardInfo.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#networkCards(List.) - 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:
#networkCards(java.util.Collection)
-
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,EnaSupport
-
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:
EnaSupport,EnaSupport
-
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 theEfaInfo.Builderavoiding the need to create one manually viaEfaInfo.builder().When the
Consumercompletes,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:
efaInfo(EfaInfo)
-
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,FlexibleEnaQueuesSupport
-
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:
FlexibleEnaQueuesSupport,FlexibleEnaQueuesSupport
-
-