@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class NetworkInfo extends Object implements Serializable, Cloneable
Describes the networking features of the instance type.
Constructor and Description |
---|
NetworkInfo() |
Modifier and Type | Method and Description |
---|---|
NetworkInfo |
clone() |
boolean |
equals(Object obj) |
Integer |
getDefaultNetworkCardIndex()
The index of the default network card, starting at 0.
|
EfaInfo |
getEfaInfo()
Describes the Elastic Fabric Adapters for the instance type.
|
Boolean |
getEfaSupported()
Indicates whether Elastic Fabric Adapter (EFA) is supported.
|
Boolean |
getEnaSrdSupported()
Indicates whether the instance type supports ENA Express.
|
String |
getEnaSupport()
Indicates whether Elastic Network Adapter (ENA) is supported.
|
Boolean |
getEncryptionInTransitSupported()
Indicates whether the instance type automatically encrypts in-transit traffic between instances.
|
Integer |
getIpv4AddressesPerInterface()
The maximum number of IPv4 addresses per network interface.
|
Integer |
getIpv6AddressesPerInterface()
The maximum number of IPv6 addresses per network interface.
|
Boolean |
getIpv6Supported()
Indicates whether IPv6 is supported.
|
Integer |
getMaximumNetworkCards()
The maximum number of physical network cards that can be allocated to the instance.
|
Integer |
getMaximumNetworkInterfaces()
The maximum number of network interfaces for the instance type.
|
List<NetworkCardInfo> |
getNetworkCards()
Describes the network cards for the instance type.
|
String |
getNetworkPerformance()
The network performance.
|
int |
hashCode() |
Boolean |
isEfaSupported()
Indicates whether Elastic Fabric Adapter (EFA) is supported.
|
Boolean |
isEnaSrdSupported()
Indicates whether the instance type supports ENA Express.
|
Boolean |
isEncryptionInTransitSupported()
Indicates whether the instance type automatically encrypts in-transit traffic between instances.
|
Boolean |
isIpv6Supported()
Indicates whether IPv6 is supported.
|
void |
setDefaultNetworkCardIndex(Integer defaultNetworkCardIndex)
The index of the default network card, starting at 0.
|
void |
setEfaInfo(EfaInfo efaInfo)
Describes the Elastic Fabric Adapters for the instance type.
|
void |
setEfaSupported(Boolean efaSupported)
Indicates whether Elastic Fabric Adapter (EFA) is supported.
|
void |
setEnaSrdSupported(Boolean enaSrdSupported)
Indicates whether the instance type supports ENA Express.
|
void |
setEnaSupport(String enaSupport)
Indicates whether Elastic Network Adapter (ENA) is supported.
|
void |
setEncryptionInTransitSupported(Boolean encryptionInTransitSupported)
Indicates whether the instance type automatically encrypts in-transit traffic between instances.
|
void |
setIpv4AddressesPerInterface(Integer ipv4AddressesPerInterface)
The maximum number of IPv4 addresses per network interface.
|
void |
setIpv6AddressesPerInterface(Integer ipv6AddressesPerInterface)
The maximum number of IPv6 addresses per network interface.
|
void |
setIpv6Supported(Boolean ipv6Supported)
Indicates whether IPv6 is supported.
|
void |
setMaximumNetworkCards(Integer maximumNetworkCards)
The maximum number of physical network cards that can be allocated to the instance.
|
void |
setMaximumNetworkInterfaces(Integer maximumNetworkInterfaces)
The maximum number of network interfaces for the instance type.
|
void |
setNetworkCards(Collection<NetworkCardInfo> networkCards)
Describes the network cards for the instance type.
|
void |
setNetworkPerformance(String networkPerformance)
The network performance.
|
String |
toString()
Returns a string representation of this object.
|
NetworkInfo |
withDefaultNetworkCardIndex(Integer defaultNetworkCardIndex)
The index of the default network card, starting at 0.
|
NetworkInfo |
withEfaInfo(EfaInfo efaInfo)
Describes the Elastic Fabric Adapters for the instance type.
|
NetworkInfo |
withEfaSupported(Boolean efaSupported)
Indicates whether Elastic Fabric Adapter (EFA) is supported.
|
NetworkInfo |
withEnaSrdSupported(Boolean enaSrdSupported)
Indicates whether the instance type supports ENA Express.
|
NetworkInfo |
withEnaSupport(EnaSupport enaSupport)
Indicates whether Elastic Network Adapter (ENA) is supported.
|
NetworkInfo |
withEnaSupport(String enaSupport)
Indicates whether Elastic Network Adapter (ENA) is supported.
|
NetworkInfo |
withEncryptionInTransitSupported(Boolean encryptionInTransitSupported)
Indicates whether the instance type automatically encrypts in-transit traffic between instances.
|
NetworkInfo |
withIpv4AddressesPerInterface(Integer ipv4AddressesPerInterface)
The maximum number of IPv4 addresses per network interface.
|
NetworkInfo |
withIpv6AddressesPerInterface(Integer ipv6AddressesPerInterface)
The maximum number of IPv6 addresses per network interface.
|
NetworkInfo |
withIpv6Supported(Boolean ipv6Supported)
Indicates whether IPv6 is supported.
|
NetworkInfo |
withMaximumNetworkCards(Integer maximumNetworkCards)
The maximum number of physical network cards that can be allocated to the instance.
|
NetworkInfo |
withMaximumNetworkInterfaces(Integer maximumNetworkInterfaces)
The maximum number of network interfaces for the instance type.
|
NetworkInfo |
withNetworkCards(Collection<NetworkCardInfo> networkCards)
Describes the network cards for the instance type.
|
NetworkInfo |
withNetworkCards(NetworkCardInfo... networkCards)
Describes the network cards for the instance type.
|
NetworkInfo |
withNetworkPerformance(String networkPerformance)
The network performance.
|
public void setNetworkPerformance(String networkPerformance)
The network performance.
networkPerformance
- The network performance.public String getNetworkPerformance()
The network performance.
public NetworkInfo withNetworkPerformance(String networkPerformance)
The network performance.
networkPerformance
- The network performance.public void setMaximumNetworkInterfaces(Integer maximumNetworkInterfaces)
The maximum number of network interfaces for the instance type.
maximumNetworkInterfaces
- The maximum number of network interfaces for the instance type.public Integer getMaximumNetworkInterfaces()
The maximum number of network interfaces for the instance type.
public NetworkInfo withMaximumNetworkInterfaces(Integer maximumNetworkInterfaces)
The maximum number of network interfaces for the instance type.
maximumNetworkInterfaces
- The maximum number of network interfaces for the instance type.public void setMaximumNetworkCards(Integer maximumNetworkCards)
The maximum number of physical network cards that can be allocated to the instance.
maximumNetworkCards
- The maximum number of physical network cards that can be allocated to the instance.public Integer getMaximumNetworkCards()
The maximum number of physical network cards that can be allocated to the instance.
public NetworkInfo withMaximumNetworkCards(Integer maximumNetworkCards)
The maximum number of physical network cards that can be allocated to the instance.
maximumNetworkCards
- The maximum number of physical network cards that can be allocated to the instance.public void setDefaultNetworkCardIndex(Integer defaultNetworkCardIndex)
The index of the default network card, starting at 0.
defaultNetworkCardIndex
- The index of the default network card, starting at 0.public Integer getDefaultNetworkCardIndex()
The index of the default network card, starting at 0.
public NetworkInfo withDefaultNetworkCardIndex(Integer defaultNetworkCardIndex)
The index of the default network card, starting at 0.
defaultNetworkCardIndex
- The index of the default network card, starting at 0.public List<NetworkCardInfo> getNetworkCards()
Describes the network cards for the instance type.
public void setNetworkCards(Collection<NetworkCardInfo> networkCards)
Describes the network cards for the instance type.
networkCards
- Describes the network cards for the instance type.public NetworkInfo withNetworkCards(NetworkCardInfo... networkCards)
Describes the network cards for the instance type.
NOTE: This method appends the values to the existing list (if any). Use
setNetworkCards(java.util.Collection)
or withNetworkCards(java.util.Collection)
if you want to
override the existing values.
networkCards
- Describes the network cards for the instance type.public NetworkInfo withNetworkCards(Collection<NetworkCardInfo> networkCards)
Describes the network cards for the instance type.
networkCards
- Describes the network cards for the instance type.public void setIpv4AddressesPerInterface(Integer ipv4AddressesPerInterface)
The maximum number of IPv4 addresses per network interface.
ipv4AddressesPerInterface
- The maximum number of IPv4 addresses per network interface.public Integer getIpv4AddressesPerInterface()
The maximum number of IPv4 addresses per network interface.
public NetworkInfo withIpv4AddressesPerInterface(Integer ipv4AddressesPerInterface)
The maximum number of IPv4 addresses per network interface.
ipv4AddressesPerInterface
- The maximum number of IPv4 addresses per network interface.public void setIpv6AddressesPerInterface(Integer ipv6AddressesPerInterface)
The maximum number of IPv6 addresses per network interface.
ipv6AddressesPerInterface
- The maximum number of IPv6 addresses per network interface.public Integer getIpv6AddressesPerInterface()
The maximum number of IPv6 addresses per network interface.
public NetworkInfo withIpv6AddressesPerInterface(Integer ipv6AddressesPerInterface)
The maximum number of IPv6 addresses per network interface.
ipv6AddressesPerInterface
- The maximum number of IPv6 addresses per network interface.public void setIpv6Supported(Boolean ipv6Supported)
Indicates whether IPv6 is supported.
ipv6Supported
- Indicates whether IPv6 is supported.public Boolean getIpv6Supported()
Indicates whether IPv6 is supported.
public NetworkInfo withIpv6Supported(Boolean ipv6Supported)
Indicates whether IPv6 is supported.
ipv6Supported
- Indicates whether IPv6 is supported.public Boolean isIpv6Supported()
Indicates whether IPv6 is supported.
public void setEnaSupport(String enaSupport)
Indicates whether Elastic Network Adapter (ENA) is supported.
enaSupport
- Indicates whether Elastic Network Adapter (ENA) is supported.EnaSupport
public String getEnaSupport()
Indicates whether Elastic Network Adapter (ENA) is supported.
EnaSupport
public NetworkInfo withEnaSupport(String enaSupport)
Indicates whether Elastic Network Adapter (ENA) is supported.
enaSupport
- Indicates whether Elastic Network Adapter (ENA) is supported.EnaSupport
public NetworkInfo withEnaSupport(EnaSupport enaSupport)
Indicates whether Elastic Network Adapter (ENA) is supported.
enaSupport
- Indicates whether Elastic Network Adapter (ENA) is supported.EnaSupport
public void setEfaSupported(Boolean efaSupported)
Indicates whether Elastic Fabric Adapter (EFA) is supported.
efaSupported
- Indicates whether Elastic Fabric Adapter (EFA) is supported.public Boolean getEfaSupported()
Indicates whether Elastic Fabric Adapter (EFA) is supported.
public NetworkInfo withEfaSupported(Boolean efaSupported)
Indicates whether Elastic Fabric Adapter (EFA) is supported.
efaSupported
- Indicates whether Elastic Fabric Adapter (EFA) is supported.public Boolean isEfaSupported()
Indicates whether Elastic Fabric Adapter (EFA) is supported.
public void setEfaInfo(EfaInfo efaInfo)
Describes the Elastic Fabric Adapters for the instance type.
efaInfo
- Describes the Elastic Fabric Adapters for the instance type.public EfaInfo getEfaInfo()
Describes the Elastic Fabric Adapters for the instance type.
public NetworkInfo withEfaInfo(EfaInfo efaInfo)
Describes the Elastic Fabric Adapters for the instance type.
efaInfo
- Describes the Elastic Fabric Adapters for the instance type.public void setEncryptionInTransitSupported(Boolean encryptionInTransitSupported)
Indicates whether the instance type automatically encrypts in-transit traffic between instances.
encryptionInTransitSupported
- Indicates whether the instance type automatically encrypts in-transit traffic between instances.public Boolean getEncryptionInTransitSupported()
Indicates whether the instance type automatically encrypts in-transit traffic between instances.
public NetworkInfo withEncryptionInTransitSupported(Boolean encryptionInTransitSupported)
Indicates whether the instance type automatically encrypts in-transit traffic between instances.
encryptionInTransitSupported
- Indicates whether the instance type automatically encrypts in-transit traffic between instances.public Boolean isEncryptionInTransitSupported()
Indicates whether the instance type automatically encrypts in-transit traffic between instances.
public void setEnaSrdSupported(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.
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.public Boolean getEnaSrdSupported()
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.
public NetworkInfo withEnaSrdSupported(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.
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.public Boolean isEnaSrdSupported()
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.
public String toString()
toString
in class Object
Object.toString()
public NetworkInfo clone()