@Generated(value="software.amazon.awssdk:codegen") public final class AwsEc2NetworkInterfaceAttachment extends Object implements SdkPojo, Serializable, ToCopyableBuilder<AwsEc2NetworkInterfaceAttachment.Builder,AwsEc2NetworkInterfaceAttachment>
Information about the network interface attachment.
| Modifier and Type | Class and Description |
|---|---|
static interface |
AwsEc2NetworkInterfaceAttachment.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
attachmentId()
The identifier of the network interface attachment
|
String |
attachTime()
Indicates when the attachment initiated.
|
static AwsEc2NetworkInterfaceAttachment.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.
|
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.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends AwsEc2NetworkInterfaceAttachment.Builder> |
serializableBuilderClass() |
String |
status()
The attachment state.
|
AwsEc2NetworkInterfaceAttachment.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String attachTime()
Indicates when the attachment initiated.
Uses the date-time format specified in RFC
3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces, and date and time should be
separated by T. For example, 2020-03-22T13:22:13.933Z.
Uses the date-time format specified in RFC 3339 section 5.6, Internet Date/Time
Format. The value cannot contain spaces, and date and time should be separated by T. For
example, 2020-03-22T13:22:13.933Z.
public final String attachmentId()
The identifier 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 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 String status()
The attachment state.
Valid values: attaching | attached | detaching | detached
Valid values: attaching | attached | detaching |
detached
public AwsEc2NetworkInterfaceAttachment.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<AwsEc2NetworkInterfaceAttachment.Builder,AwsEc2NetworkInterfaceAttachment>public static AwsEc2NetworkInterfaceAttachment.Builder builder()
public static Class<? extends AwsEc2NetworkInterfaceAttachment.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.