@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AttachmentEnaSrdSpecification 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 |
---|
AttachmentEnaSrdSpecification() |
Modifier and Type | Method and Description |
---|---|
AttachmentEnaSrdSpecification |
clone() |
boolean |
equals(Object obj) |
Boolean |
getEnaSrdEnabled()
Indicates whether ENA Express is enabled for the network interface.
|
AttachmentEnaSrdUdpSpecification |
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(AttachmentEnaSrdUdpSpecification enaSrdUdpSpecification)
Configures ENA Express for UDP network traffic.
|
String |
toString()
Returns a string representation of this object.
|
AttachmentEnaSrdSpecification |
withEnaSrdEnabled(Boolean enaSrdEnabled)
Indicates whether ENA Express is enabled for the network interface.
|
AttachmentEnaSrdSpecification |
withEnaSrdUdpSpecification(AttachmentEnaSrdUdpSpecification 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 AttachmentEnaSrdSpecification 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(AttachmentEnaSrdUdpSpecification enaSrdUdpSpecification)
Configures ENA Express for UDP network traffic.
enaSrdUdpSpecification
- Configures ENA Express for UDP network traffic.public AttachmentEnaSrdUdpSpecification getEnaSrdUdpSpecification()
Configures ENA Express for UDP network traffic.
public AttachmentEnaSrdSpecification withEnaSrdUdpSpecification(AttachmentEnaSrdUdpSpecification 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 AttachmentEnaSrdSpecification clone()