Interface SetGatewayBridgeSourceRequest.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<SetGatewayBridgeSourceRequest.Builder,
,SetGatewayBridgeSourceRequest> SdkBuilder<SetGatewayBridgeSourceRequest.Builder,
,SetGatewayBridgeSourceRequest> SdkPojo
- Enclosing class:
SetGatewayBridgeSourceRequest
public static interface SetGatewayBridgeSourceRequest.Builder
extends SdkPojo, CopyableBuilder<SetGatewayBridgeSourceRequest.Builder,SetGatewayBridgeSourceRequest>
-
Method Summary
Modifier and TypeMethodDescriptionThe ARN of the bridge feeding this flow.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
SetGatewayBridgeSourceRequest.Builder vpcInterfaceAttachment(VpcInterfaceAttachment 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 SetGatewayBridgeSourceRequest.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:
-