@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class LaunchTemplateEnaSrdSpecification extends Object implements Serializable, Cloneable
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. With ENA Express, you can communicate between two EC2 instances in the same subnet within the same account, or in different accounts. Both sending and receiving instances must have ENA Express enabled.
To improve the reliability of network packet delivery, ENA Express reorders network packets on the receiving end by default. However, some UDP-based applications are designed to handle network packets that are out of order to reduce the overhead for packet delivery at the network layer. When ENA Express is enabled, you can specify whether UDP network traffic uses it.
Constructor and Description |
---|
LaunchTemplateEnaSrdSpecification() |
Modifier and Type | Method and Description |
---|---|
LaunchTemplateEnaSrdSpecification |
clone() |
boolean |
equals(Object obj) |
Boolean |
getEnaSrdEnabled()
Indicates whether ENA Express is enabled for the network interface.
|
LaunchTemplateEnaSrdUdpSpecification |
getEnaSrdUdpSpecification()
Configures ENA Express for UDP network traffic.
|
int |
hashCode() |
Boolean |
isEnaSrdEnabled()
Indicates whether ENA Express is enabled for the network interface.
|
void |
setEnaSrdEnabled(Boolean enaSrdEnabled)
Indicates whether ENA Express is enabled for the network interface.
|
void |
setEnaSrdUdpSpecification(LaunchTemplateEnaSrdUdpSpecification enaSrdUdpSpecification)
Configures ENA Express for UDP network traffic.
|
String |
toString()
Returns a string representation of this object.
|
LaunchTemplateEnaSrdSpecification |
withEnaSrdEnabled(Boolean enaSrdEnabled)
Indicates whether ENA Express is enabled for the network interface.
|
LaunchTemplateEnaSrdSpecification |
withEnaSrdUdpSpecification(LaunchTemplateEnaSrdUdpSpecification enaSrdUdpSpecification)
Configures ENA Express for UDP network traffic.
|
public void setEnaSrdEnabled(Boolean enaSrdEnabled)
Indicates whether ENA Express is enabled for the network interface.
enaSrdEnabled
- Indicates whether ENA Express is enabled for the network interface.public Boolean getEnaSrdEnabled()
Indicates whether ENA Express is enabled for the network interface.
public LaunchTemplateEnaSrdSpecification withEnaSrdEnabled(Boolean enaSrdEnabled)
Indicates whether ENA Express is enabled for the network interface.
enaSrdEnabled
- Indicates whether ENA Express is enabled for the network interface.public Boolean isEnaSrdEnabled()
Indicates whether ENA Express is enabled for the network interface.
public void setEnaSrdUdpSpecification(LaunchTemplateEnaSrdUdpSpecification enaSrdUdpSpecification)
Configures ENA Express for UDP network traffic.
enaSrdUdpSpecification
- Configures ENA Express for UDP network traffic.public LaunchTemplateEnaSrdUdpSpecification getEnaSrdUdpSpecification()
Configures ENA Express for UDP network traffic.
public LaunchTemplateEnaSrdSpecification withEnaSrdUdpSpecification(LaunchTemplateEnaSrdUdpSpecification enaSrdUdpSpecification)
Configures ENA Express for UDP network traffic.
enaSrdUdpSpecification
- Configures ENA Express for UDP network traffic.public String toString()
toString
in class Object
Object.toString()
public LaunchTemplateEnaSrdSpecification clone()