Interface EgressOnlyInternetGateway.Builder
-
- All Superinterfaces:
Buildable
,CopyableBuilder<EgressOnlyInternetGateway.Builder,EgressOnlyInternetGateway>
,SdkBuilder<EgressOnlyInternetGateway.Builder,EgressOnlyInternetGateway>
,SdkPojo
- Enclosing class:
- EgressOnlyInternetGateway
public static interface EgressOnlyInternetGateway.Builder extends SdkPojo, CopyableBuilder<EgressOnlyInternetGateway.Builder,EgressOnlyInternetGateway>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method 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.EgressOnlyInternetGateway.Builder
tags(Collection<Tag> tags)
The tags assigned to the egress-only internet gateway.EgressOnlyInternetGateway.Builder
tags(Consumer<Tag.Builder>... tags)
The tags assigned to the egress-only internet gateway.EgressOnlyInternetGateway.Builder
tags(Tag... tags)
The tags assigned to the egress-only 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
EgressOnlyInternetGateway.Builder attachments(Collection<InternetGatewayAttachment> attachments)
Information about the attachment of the egress-only internet gateway.
- Parameters:
attachments
- Information about the attachment of the egress-only internet gateway.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
attachments
EgressOnlyInternetGateway.Builder attachments(InternetGatewayAttachment... attachments)
Information about the attachment of the egress-only internet gateway.
- Parameters:
attachments
- Information about the attachment of the egress-only internet gateway.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
attachments
EgressOnlyInternetGateway.Builder attachments(Consumer<InternetGatewayAttachment.Builder>... attachments)
Information about the attachment of the egress-only internet gateway.
This is a convenience method that creates an instance of theInternetGatewayAttachment.Builder
avoiding the need to create one manually viaInternetGatewayAttachment.builder()
.When the
Consumer
completes,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
)
-
egressOnlyInternetGatewayId
EgressOnlyInternetGateway.Builder egressOnlyInternetGatewayId(String egressOnlyInternetGatewayId)
The ID of the egress-only internet gateway.
- Parameters:
egressOnlyInternetGatewayId
- The ID of the egress-only internet gateway.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
EgressOnlyInternetGateway.Builder tags(Collection<Tag> tags)
The tags assigned to the egress-only internet gateway.
- Parameters:
tags
- The tags assigned to the egress-only internet gateway.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
EgressOnlyInternetGateway.Builder tags(Tag... tags)
The tags assigned to the egress-only internet gateway.
- Parameters:
tags
- The tags assigned to the egress-only internet gateway.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
EgressOnlyInternetGateway.Builder tags(Consumer<Tag.Builder>... tags)
The tags assigned to the egress-only internet gateway.
This is a convenience method that creates an instance of theTag.Builder
avoiding the need to create one manually viaTag.builder()
.When the
Consumer
completes,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
)
-
-