Interface EgressOnlyInternetGateway.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<EgressOnlyInternetGateway.Builder,,EgressOnlyInternetGateway> SdkBuilder<EgressOnlyInternetGateway.Builder,,EgressOnlyInternetGateway> SdkPojo
- Enclosing class:
EgressOnlyInternetGateway
@Mutable
@NotThreadSafe
public static interface EgressOnlyInternetGateway.Builder
extends SdkPojo, CopyableBuilder<EgressOnlyInternetGateway.Builder,EgressOnlyInternetGateway>
-
Method Summary
Modifier and TypeMethodDescriptionattachments(Collection<InternetGatewayAttachment> attachments) Information about the attachment of the egress-only internet gateway.attachments(Consumer<InternetGatewayAttachment.Builder>... attachments) Information about the attachment of the egress-only internet gateway.attachments(InternetGatewayAttachment... attachments) Information about the attachment of the egress-only internet gateway.egressOnlyInternetGatewayId(String egressOnlyInternetGatewayId) The ID of the egress-only internet gateway.tags(Collection<Tag> tags) The tags assigned to the egress-only internet gateway.tags(Consumer<Tag.Builder>... tags) The tags assigned to the egress-only internet gateway.The tags assigned to the egress-only internet gateway.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
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
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.Builderavoiding the need to create one manually viaInternetGatewayAttachment.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toattachments(List<InternetGatewayAttachment>).- 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:
-
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
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
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
The tags assigned to the egress-only 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 totags(List<Tag>).- 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:
-