@Generated(value="software.amazon.awssdk:codegen") public class NetworkInterfaceAttachment extends Object implements 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) |
<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.
|
static Class<? extends NetworkInterfaceAttachment.Builder> |
serializableBuilderClass() |
AttachmentStatus |
status()
The attachment state.
|
String |
statusString()
The attachment state.
|
NetworkInterfaceAttachment.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
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
statusString()
.
AttachmentStatus
public String statusString()
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
statusString()
.
AttachmentStatus
public NetworkInterfaceAttachment.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<NetworkInterfaceAttachment.Builder,NetworkInterfaceAttachment>
public static NetworkInterfaceAttachment.Builder builder()
public static Class<? extends NetworkInterfaceAttachment.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.