@Generated(value="software.amazon.awssdk:codegen") public final class NetworkInterfaceAttachment extends Object implements SdkPojo, Serializable, ToCopyableBuilder<NetworkInterfaceAttachment.Builder,NetworkInterfaceAttachment>
Describes a network interface attachment.
Modifier and Type | Class and Description |
---|---|
static interface |
NetworkInterfaceAttachment.Builder |
Modifier and Type | Method and Description |
---|---|
String |
attachmentId()
The ID of the network interface attachment.
|
Instant |
attachTime()
The timestamp indicating when the attachment initiated.
|
static NetworkInterfaceAttachment.Builder |
builder() |
Boolean |
deleteOnTermination()
Indicates whether the network interface is deleted when the instance is terminated.
|
Integer |
deviceIndex()
The device index of the network interface attachment on the instance.
|
AttachmentEnaSrdSpecification |
enaSrdSpecification()
Configures ENA Express for the network interface that this action attaches to the instance.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
instanceId()
The ID of the instance.
|
String |
instanceOwnerId()
The Amazon Web Services account ID of the owner of the instance.
|
Integer |
networkCardIndex()
The index of the network card.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends NetworkInterfaceAttachment.Builder> |
serializableBuilderClass() |
AttachmentStatus |
status()
The attachment state.
|
String |
statusAsString()
The attachment state.
|
NetworkInterfaceAttachment.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
copy
public final Instant attachTime()
The timestamp indicating when the attachment initiated.
public final String attachmentId()
The ID of the network interface attachment.
public final Boolean deleteOnTermination()
Indicates whether the network interface is deleted when the instance is terminated.
public final Integer deviceIndex()
The device index of the network interface attachment on the instance.
public final Integer networkCardIndex()
The index of the network card.
public final String instanceId()
The ID of the instance.
public final String instanceOwnerId()
The Amazon Web Services account ID of the owner of the instance.
public final AttachmentStatus status()
The attachment state.
If the service returns an enum value that is not available in the current SDK version, status
will
return AttachmentStatus.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
statusAsString()
.
AttachmentStatus
public final String statusAsString()
The attachment state.
If the service returns an enum value that is not available in the current SDK version, status
will
return AttachmentStatus.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
statusAsString()
.
AttachmentStatus
public final AttachmentEnaSrdSpecification enaSrdSpecification()
Configures ENA Express for the network interface that this action attaches to the instance.
public NetworkInterfaceAttachment.Builder toBuilder()
toBuilder
in interface ToCopyableBuilder<NetworkInterfaceAttachment.Builder,NetworkInterfaceAttachment>
public static NetworkInterfaceAttachment.Builder builder()
public static Class<? extends NetworkInterfaceAttachment.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields
in interface SdkPojo
public final String toString()
Copyright © 2023. All rights reserved.