@Generated(value="software.amazon.awssdk:codegen") public final class InstanceNetworkInterfaceAttachment extends Object implements SdkPojo, Serializable, ToCopyableBuilder<InstanceNetworkInterfaceAttachment.Builder,InstanceNetworkInterfaceAttachment>
Describes a network interface attachment.
Modifier and Type | Class and Description |
---|---|
static interface |
InstanceNetworkInterfaceAttachment.Builder |
Modifier and Type | Method and Description |
---|---|
String |
attachmentId()
The ID of the network interface attachment.
|
Instant |
attachTime()
The time stamp when the attachment initiated.
|
static InstanceNetworkInterfaceAttachment.Builder |
builder() |
Boolean |
deleteOnTermination()
Indicates whether the network interface is deleted when the instance is terminated.
|
Integer |
deviceIndex()
The index of the device on the instance for the network interface attachment.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Integer |
networkCardIndex()
The index of the network card.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends InstanceNetworkInterfaceAttachment.Builder> |
serializableBuilderClass() |
AttachmentStatus |
status()
The attachment state.
|
String |
statusAsString()
The attachment state.
|
InstanceNetworkInterfaceAttachment.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 time stamp 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 index of the device on the instance for the network interface attachment.
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 Integer networkCardIndex()
The index of the network card.
public InstanceNetworkInterfaceAttachment.Builder toBuilder()
toBuilder
in interface ToCopyableBuilder<InstanceNetworkInterfaceAttachment.Builder,InstanceNetworkInterfaceAttachment>
public static InstanceNetworkInterfaceAttachment.Builder builder()
public static Class<? extends InstanceNetworkInterfaceAttachment.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields
in interface SdkPojo
public final String toString()
Copyright © 2023. All rights reserved.