public static interface InternetGateway.Builder extends CopyableBuilder<InternetGateway.Builder,InternetGateway>
Modifier and Type | Method and Description |
---|---|
InternetGateway.Builder |
attachments(Collection<InternetGatewayAttachment> attachments)
Any VPCs attached to the Internet gateway.
|
InternetGateway.Builder |
attachments(Consumer<InternetGatewayAttachment.Builder>... attachments)
Any VPCs attached to the Internet gateway.
|
InternetGateway.Builder |
attachments(InternetGatewayAttachment... attachments)
Any VPCs attached to the Internet gateway.
|
InternetGateway.Builder |
internetGatewayId(String internetGatewayId)
The ID of the Internet gateway.
|
InternetGateway.Builder |
tags(Collection<Tag> tags)
Any tags assigned to the Internet gateway.
|
InternetGateway.Builder |
tags(Consumer<Tag.Builder>... tags)
Any tags assigned to the Internet gateway.
|
InternetGateway.Builder |
tags(Tag... tags)
Any tags assigned to the Internet gateway.
|
copy
applyMutation, build
InternetGateway.Builder attachments(Collection<InternetGatewayAttachment> attachments)
Any VPCs attached to the Internet gateway.
attachments
- Any VPCs attached to the Internet gateway.InternetGateway.Builder attachments(InternetGatewayAttachment... attachments)
Any VPCs attached to the Internet gateway.
attachments
- Any VPCs attached to the Internet gateway.InternetGateway.Builder attachments(Consumer<InternetGatewayAttachment.Builder>... attachments)
Any VPCs attached to the 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)
InternetGateway.Builder internetGatewayId(String internetGatewayId)
The ID of the Internet gateway.
internetGatewayId
- The ID of the Internet gateway.InternetGateway.Builder tags(Collection<Tag> tags)
Any tags assigned to the Internet gateway.
tags
- Any tags assigned to the Internet gateway.InternetGateway.Builder tags(Tag... tags)
Any tags assigned to the Internet gateway.
tags
- Any tags assigned to the Internet gateway.InternetGateway.Builder tags(Consumer<Tag.Builder>... tags)
Any tags assigned to the 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 #tags(List)
.tags
- a consumer that will call methods on List.Builder
#tags(List)
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.