@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.
|
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 AWS account ID of the owner of the instance.
|
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 Instant attachTime()
The timestamp indicating when the attachment initiated.
public String attachmentId()
The ID of the network interface attachment.
public Boolean deleteOnTermination()
Indicates whether the network interface is deleted when the instance is terminated.
public Integer deviceIndex()
The device index of the network interface attachment on the instance.
public String instanceId()
The ID of the instance.
public String instanceOwnerId()
The AWS account ID of the owner of the instance.
public 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 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 NetworkInterfaceAttachment.Builder toBuilder()
toBuilder
in interface ToCopyableBuilder<NetworkInterfaceAttachment.Builder,NetworkInterfaceAttachment>
public static NetworkInterfaceAttachment.Builder builder()
public static Class<? extends NetworkInterfaceAttachment.Builder> serializableBuilderClass()
public boolean equalsBySdkFields(Object obj)
equalsBySdkFields
in interface SdkPojo
public String toString()
Copyright © 2020. All rights reserved.