@Generated(value="software.amazon.awssdk:codegen") public class InstanceNetworkInterfaceAttachment extends Object implements 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) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
static Class<? extends InstanceNetworkInterfaceAttachment.Builder> |
serializableBuilderClass() |
AttachmentStatus |
status()
The attachment state.
|
String |
statusString()
The attachment state.
|
InstanceNetworkInterfaceAttachment.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 time stamp 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 index of the device on the instance for the network interface attachment.
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 InstanceNetworkInterfaceAttachment.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<InstanceNetworkInterfaceAttachment.Builder,InstanceNetworkInterfaceAttachment>
public static InstanceNetworkInterfaceAttachment.Builder builder()
public static Class<? extends InstanceNetworkInterfaceAttachment.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.