Interface GatewayBridgeSource.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<GatewayBridgeSource.Builder,
,GatewayBridgeSource> SdkBuilder<GatewayBridgeSource.Builder,
,GatewayBridgeSource> SdkPojo
- Enclosing class:
GatewayBridgeSource
public static interface GatewayBridgeSource.Builder
extends SdkPojo, CopyableBuilder<GatewayBridgeSource.Builder,GatewayBridgeSource>
-
Method Summary
Modifier and TypeMethodDescriptionThe ARN of the bridge feeding this flow.default GatewayBridgeSource.Builder
vpcInterfaceAttachment
(Consumer<VpcInterfaceAttachment.Builder> vpcInterfaceAttachment) The name of the VPC interface attachment to use for this bridge source.vpcInterfaceAttachment
(VpcInterfaceAttachment vpcInterfaceAttachment) The name of the VPC interface attachment to use for this bridge source.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 Details
-
bridgeArn
The ARN of the bridge feeding this flow.- Parameters:
bridgeArn
- The ARN of the bridge feeding this flow.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
vpcInterfaceAttachment
The name of the VPC interface attachment to use for this bridge source.- Parameters:
vpcInterfaceAttachment
- The name of the VPC interface attachment to use for this bridge source.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
vpcInterfaceAttachment
default GatewayBridgeSource.Builder vpcInterfaceAttachment(Consumer<VpcInterfaceAttachment.Builder> vpcInterfaceAttachment) The name of the VPC interface attachment to use for this bridge source. This is a convenience method that creates an instance of theVpcInterfaceAttachment.Builder
avoiding the need to create one manually viaVpcInterfaceAttachment.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tovpcInterfaceAttachment(VpcInterfaceAttachment)
.- Parameters:
vpcInterfaceAttachment
- a consumer that will call methods onVpcInterfaceAttachment.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-