Interface InternetGateway.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<InternetGateway.Builder,InternetGateway>,SdkBuilder<InternetGateway.Builder,InternetGateway>,SdkPojo
- Enclosing class:
- InternetGateway
public static interface InternetGateway.Builder extends SdkPojo, CopyableBuilder<InternetGateway.Builder,InternetGateway>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description InternetGateway.Builderattachments(Collection<InternetGatewayAttachment> attachments)Any VPCs attached to the internet gateway.InternetGateway.Builderattachments(Consumer<InternetGatewayAttachment.Builder>... attachments)Any VPCs attached to the internet gateway.InternetGateway.Builderattachments(InternetGatewayAttachment... attachments)Any VPCs attached to the internet gateway.InternetGateway.BuilderinternetGatewayId(String internetGatewayId)The ID of the internet gateway.InternetGateway.BuilderownerId(String ownerId)The ID of the Amazon Web Services account that owns the internet gateway.InternetGateway.Buildertags(Collection<Tag> tags)Any tags assigned to the internet gateway.InternetGateway.Buildertags(Consumer<Tag.Builder>... tags)Any tags assigned to the internet gateway.InternetGateway.Buildertags(Tag... tags)Any tags assigned to the internet gateway.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
attachments
InternetGateway.Builder attachments(Collection<InternetGatewayAttachment> attachments)
Any VPCs attached to the internet gateway.
- Parameters:
attachments- Any VPCs attached to the internet gateway.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
attachments
InternetGateway.Builder attachments(InternetGatewayAttachment... attachments)
Any VPCs attached to the internet gateway.
- Parameters:
attachments- Any VPCs attached to the internet gateway.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
attachments
InternetGateway.Builder attachments(Consumer<InternetGatewayAttachment.Builder>... attachments)
Any VPCs attached to the internet gateway.
This is a convenience method that creates an instance of theInternetGatewayAttachment.Builderavoiding the need to create one manually viaInternetGatewayAttachment.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#attachments(List.) - Parameters:
attachments- a consumer that will call methods onInternetGatewayAttachment.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#attachments(java.util.Collection)
-
internetGatewayId
InternetGateway.Builder internetGatewayId(String internetGatewayId)
The ID of the internet gateway.
- Parameters:
internetGatewayId- The ID of the internet gateway.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ownerId
InternetGateway.Builder ownerId(String ownerId)
The ID of the Amazon Web Services account that owns the internet gateway.
- Parameters:
ownerId- The ID of the Amazon Web Services account that owns the internet gateway.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
InternetGateway.Builder tags(Collection<Tag> tags)
Any tags assigned to the internet gateway.
- Parameters:
tags- Any tags assigned to the internet gateway.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
InternetGateway.Builder tags(Tag... tags)
Any tags assigned to the internet gateway.
- Parameters:
tags- Any tags assigned to the internet gateway.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
InternetGateway.Builder tags(Consumer<Tag.Builder>... tags)
Any tags assigned to the internet gateway.
This is a convenience method that creates an instance of theTag.Builderavoiding the need to create one manually viaTag.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#tags(List.) - Parameters:
tags- a consumer that will call methods onTag.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#tags(java.util.Collection)
-
-