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.Builderattachments(Collection<InternetGatewayAttachment> attachments)Information about the attachment of the egress-only internet gateway.EgressOnlyInternetGateway.Builderattachments(Consumer<InternetGatewayAttachment.Builder>... attachments)Information about the attachment of the egress-only internet gateway.EgressOnlyInternetGateway.Builderattachments(InternetGatewayAttachment... attachments)Information about the attachment of the egress-only internet gateway.EgressOnlyInternetGateway.BuilderegressOnlyInternetGatewayId(String egressOnlyInternetGatewayId)The ID of the egress-only internet gateway.EgressOnlyInternetGateway.Buildertags(Collection<Tag> tags)The tags assigned to the egress-only internet gateway.EgressOnlyInternetGateway.Buildertags(Consumer<Tag.Builder>... tags)The tags assigned to the egress-only internet gateway.EgressOnlyInternetGateway.Buildertags(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, sdkFieldNameToField, 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.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)
-
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.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)
-
-