Class AttachmentEnaSrdSpecification
- java.lang.Object
-
- software.amazon.awssdk.services.ec2.model.AttachmentEnaSrdSpecification
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<AttachmentEnaSrdSpecification.Builder,AttachmentEnaSrdSpecification>
@Generated("software.amazon.awssdk:codegen") public final class AttachmentEnaSrdSpecification extends Object implements SdkPojo, Serializable, ToCopyableBuilder<AttachmentEnaSrdSpecification.Builder,AttachmentEnaSrdSpecification>
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.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceAttachmentEnaSrdSpecification.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AttachmentEnaSrdSpecification.Builderbuilder()BooleanenaSrdEnabled()Indicates whether ENA Express is enabled for the network interface.AttachmentEnaSrdUdpSpecificationenaSrdUdpSpecification()Configures ENA Express for UDP network traffic.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends AttachmentEnaSrdSpecification.Builder>serializableBuilderClass()AttachmentEnaSrdSpecification.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
enaSrdEnabled
public final Boolean enaSrdEnabled()
Indicates whether ENA Express is enabled for the network interface.
- Returns:
- Indicates whether ENA Express is enabled for the network interface.
-
enaSrdUdpSpecification
public final AttachmentEnaSrdUdpSpecification enaSrdUdpSpecification()
Configures ENA Express for UDP network traffic.
- Returns:
- Configures ENA Express for UDP network traffic.
-
toBuilder
public AttachmentEnaSrdSpecification.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<AttachmentEnaSrdSpecification.Builder,AttachmentEnaSrdSpecification>
-
builder
public static AttachmentEnaSrdSpecification.Builder builder()
-
serializableBuilderClass
public static Class<? extends AttachmentEnaSrdSpecification.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-