Interface NetworkInfo.Builder
-
- All Superinterfaces:
Buildable
,CopyableBuilder<NetworkInfo.Builder,NetworkInfo>
,SdkBuilder<NetworkInfo.Builder,NetworkInfo>
,SdkPojo
- Enclosing class:
- NetworkInfo
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.Builder
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.NetworkInfo.Builder
efaInfo(EfaInfo efaInfo)
Describes the Elastic Fabric Adapters for the instance type.NetworkInfo.Builder
efaSupported(Boolean efaSupported)
Indicates whether Elastic Fabric Adapter (EFA) is supported.NetworkInfo.Builder
enaSrdSupported(Boolean enaSrdSupported)
Indicates whether the instance type supports ENA Express.NetworkInfo.Builder
enaSupport(String enaSupport)
Indicates whether Elastic Network Adapter (ENA) is supported.NetworkInfo.Builder
enaSupport(EnaSupport enaSupport)
Indicates whether Elastic Network Adapter (ENA) is supported.NetworkInfo.Builder
encryptionInTransitSupported(Boolean encryptionInTransitSupported)
Indicates whether the instance type automatically encrypts in-transit traffic between instances.NetworkInfo.Builder
ipv4AddressesPerInterface(Integer ipv4AddressesPerInterface)
The maximum number of IPv4 addresses per network interface.NetworkInfo.Builder
ipv6AddressesPerInterface(Integer ipv6AddressesPerInterface)
The maximum number of IPv6 addresses per network interface.NetworkInfo.Builder
ipv6Supported(Boolean ipv6Supported)
Indicates whether IPv6 is supported.NetworkInfo.Builder
maximumNetworkCards(Integer maximumNetworkCards)
The maximum number of physical network cards that can be allocated to the instance.NetworkInfo.Builder
maximumNetworkInterfaces(Integer maximumNetworkInterfaces)
The maximum number of network interfaces for the instance type.NetworkInfo.Builder
networkCards(Collection<NetworkCardInfo> networkCards)
Describes the network cards for the instance type.NetworkInfo.Builder
networkCards(Consumer<NetworkCardInfo.Builder>... networkCards)
Describes the network cards for the instance type.NetworkInfo.Builder
networkCards(NetworkCardInfo... networkCards)
Describes the network cards for the instance type.NetworkInfo.Builder
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, 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.Builder
avoiding the need to create one manually viaNetworkCardInfo.builder()
.When the
Consumer
completes,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.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:
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.
-
-