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, sdkFields
copy
applyMutation, build
Attachment.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
, and
DELETED
.
status
- The status of the attachment. Valid values are PRECREATED
, CREATED
,
ATTACHING
, ATTACHED
, DETACHING
, DETACHED
, and
DELETED
.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 that creates an instance of theList.Builder
avoiding the need to
create one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called immediately and its
result is passed to #details(List)
.details
- a consumer that will call methods on List.Builder
#details(List)
Copyright © 2021. All rights reserved.