public static interface EgressOnlyInternetGateway.Builder extends CopyableBuilder<EgressOnlyInternetGateway.Builder,EgressOnlyInternetGateway>
Modifier and Type | Method and Description |
---|---|
EgressOnlyInternetGateway.Builder |
attachments(Collection<InternetGatewayAttachment> attachments)
Information about the attachment of the egress-only Internet gateway.
|
EgressOnlyInternetGateway.Builder |
attachments(Consumer<InternetGatewayAttachment.Builder>... attachments)
Information about the attachment of the egress-only Internet gateway.
|
EgressOnlyInternetGateway.Builder |
attachments(InternetGatewayAttachment... attachments)
Information about the attachment of the egress-only Internet gateway.
|
EgressOnlyInternetGateway.Builder |
egressOnlyInternetGatewayId(String egressOnlyInternetGatewayId)
The ID of the egress-only Internet gateway.
|
copy
applyMutation, build
EgressOnlyInternetGateway.Builder attachments(Collection<InternetGatewayAttachment> attachments)
Information about the attachment of the egress-only Internet gateway.
attachments
- Information about the attachment of the egress-only Internet gateway.EgressOnlyInternetGateway.Builder attachments(InternetGatewayAttachment... attachments)
Information about the attachment of the egress-only Internet gateway.
attachments
- Information about the attachment of the egress-only Internet gateway.EgressOnlyInternetGateway.Builder attachments(Consumer<InternetGatewayAttachment.Builder>... attachments)
Information about the attachment of the egress-only Internet gateway.
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 #attachments(List)
.attachments
- a consumer that will call methods on List.Builder
#attachments(List)
EgressOnlyInternetGateway.Builder egressOnlyInternetGatewayId(String egressOnlyInternetGatewayId)
The ID of the egress-only Internet gateway.
egressOnlyInternetGatewayId
- The ID of the egress-only Internet gateway.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.