public static interface Attachment.Builder extends 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 an
ElasticNetworkInterface . |
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 an ElasticNetworkInterface
.
type
- The type of the attachment, such as an 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 © 2017 Amazon Web Services, Inc. All Rights Reserved.