public static interface Attachment.Builder extends SdkPojo, CopyableBuilder<Attachment.Builder,Attachment>
| Modifier and Type | Method and Description |
|---|---|
Attachment.Builder |
details(Collection<KeyValuePair> details)
Details of the attachment.
|
Attachment.Builder |
details(Consumer<KeyValuePair.Builder>... details)
Details of the attachment.
|
Attachment.Builder |
details(KeyValuePair... details)
Details of the attachment.
|
Attachment.Builder |
id(String id)
The unique identifier for the attachment.
|
Attachment.Builder |
status(String status)
The status of the attachment.
|
Attachment.Builder |
type(String type)
The type of the attachment, such as
ElasticNetworkInterface. |
equalsBySdkFields, sdkFieldscopyapplyMutation, buildAttachment.Builder id(String id)
The unique identifier for the attachment.
id - The unique identifier for the attachment.Attachment.Builder type(String type)
The type of the attachment, such as ElasticNetworkInterface.
type - The type of the attachment, such as ElasticNetworkInterface.Attachment.Builder status(String status)
The status of the attachment. Valid values are PRECREATED, CREATED,
ATTACHING, ATTACHED, DETACHING, DETACHED,
DELETED, and FAILED.
status - The status of the attachment. Valid values are PRECREATED, CREATED,
ATTACHING, ATTACHED, DETACHING, DETACHED,
DELETED, and FAILED.Attachment.Builder details(Collection<KeyValuePair> details)
Details of the attachment. For elastic network interfaces, this includes the network interface ID, the MAC address, the subnet ID, and the private IPv4 address.
details - Details of the attachment. For elastic network interfaces, this includes the network interface ID, the
MAC address, the subnet ID, and the private IPv4 address.Attachment.Builder details(KeyValuePair... details)
Details of the attachment. For elastic network interfaces, this includes the network interface ID, the MAC address, the subnet ID, and the private IPv4 address.
details - Details of the attachment. For elastic network interfaces, this includes the network interface ID, the
MAC address, the subnet ID, and the private IPv4 address.Attachment.Builder details(Consumer<KeyValuePair.Builder>... details)
Details of the attachment. For elastic network interfaces, this includes the network interface ID, the MAC address, the subnet ID, and the private IPv4 address.
This is a convenience method that creates an instance of theKeyValuePair.Builder avoiding the need to create one
manually via KeyValuePair.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately and its
result is passed to #details(List.
details - a consumer that will call methods on
KeyValuePair.Builder#details(java.util.Collection) Copyright © 2023. All rights reserved.