Interface Bridge.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<Bridge.Builder,
,Bridge> SdkBuilder<Bridge.Builder,
,Bridge> SdkPojo
- Enclosing class:
Bridge
-
Method Summary
Modifier and TypeMethodDescriptionThe Amazon Resource Number (ARN) of the bridge.bridgeMessages
(Collection<MessageDetail> bridgeMessages) Sets the value of the BridgeMessages property for this object.bridgeMessages
(Consumer<MessageDetail.Builder>... bridgeMessages) Sets the value of the BridgeMessages property for this object.bridgeMessages
(MessageDetail... bridgeMessages) Sets the value of the BridgeMessages property for this object.bridgeState
(String bridgeState) Sets the value of the BridgeState property for this object.bridgeState
(BridgeState bridgeState) Sets the value of the BridgeState property for this object.default Bridge.Builder
egressGatewayBridge
(Consumer<EgressGatewayBridge.Builder> egressGatewayBridge) Sets the value of the EgressGatewayBridge property for this object.egressGatewayBridge
(EgressGatewayBridge egressGatewayBridge) Sets the value of the EgressGatewayBridge property for this object.default Bridge.Builder
ingressGatewayBridge
(Consumer<IngressGatewayBridge.Builder> ingressGatewayBridge) Sets the value of the IngressGatewayBridge property for this object.ingressGatewayBridge
(IngressGatewayBridge ingressGatewayBridge) Sets the value of the IngressGatewayBridge property for this object.The name of the bridge.outputs
(Collection<BridgeOutput> outputs) The outputs on this bridge.outputs
(Consumer<BridgeOutput.Builder>... outputs) The outputs on this bridge.outputs
(BridgeOutput... outputs) The outputs on this bridge.placementArn
(String placementArn) The placement Amazon Resource Number (ARN) of the bridge.default Bridge.Builder
sourceFailoverConfig
(Consumer<FailoverConfig.Builder> sourceFailoverConfig) Sets the value of the SourceFailoverConfig property for this object.sourceFailoverConfig
(FailoverConfig sourceFailoverConfig) Sets the value of the SourceFailoverConfig property for this object.sources
(Collection<BridgeSource> sources) The sources on this bridge.sources
(Consumer<BridgeSource.Builder>... sources) The sources on this bridge.sources
(BridgeSource... sources) The sources on this bridge.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 Amazon Resource Number (ARN) of the bridge.- Parameters:
bridgeArn
- The Amazon Resource Number (ARN) of the bridge.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
bridgeMessages
Sets the value of the BridgeMessages property for this object.- Parameters:
bridgeMessages
- The new value for the BridgeMessages property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
bridgeMessages
Sets the value of the BridgeMessages property for this object.- Parameters:
bridgeMessages
- The new value for the BridgeMessages property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
bridgeMessages
Sets the value of the BridgeMessages property for this object. This is a convenience method that creates an instance of theMessageDetail.Builder
avoiding the need to create one manually viaMessageDetail.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tobridgeMessages(List<MessageDetail>)
.- Parameters:
bridgeMessages
- a consumer that will call methods onMessageDetail.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
bridgeState
Sets the value of the BridgeState property for this object.- Parameters:
bridgeState
- The new value for the BridgeState property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
bridgeState
Sets the value of the BridgeState property for this object.- Parameters:
bridgeState
- The new value for the BridgeState property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
egressGatewayBridge
Sets the value of the EgressGatewayBridge property for this object.- Parameters:
egressGatewayBridge
- The new value for the EgressGatewayBridge property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
egressGatewayBridge
default Bridge.Builder egressGatewayBridge(Consumer<EgressGatewayBridge.Builder> egressGatewayBridge) Sets the value of the EgressGatewayBridge property for this object. This is a convenience method that creates an instance of theEgressGatewayBridge.Builder
avoiding the need to create one manually viaEgressGatewayBridge.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toegressGatewayBridge(EgressGatewayBridge)
.- Parameters:
egressGatewayBridge
- a consumer that will call methods onEgressGatewayBridge.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
ingressGatewayBridge
Sets the value of the IngressGatewayBridge property for this object.- Parameters:
ingressGatewayBridge
- The new value for the IngressGatewayBridge property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ingressGatewayBridge
default Bridge.Builder ingressGatewayBridge(Consumer<IngressGatewayBridge.Builder> ingressGatewayBridge) Sets the value of the IngressGatewayBridge property for this object. This is a convenience method that creates an instance of theIngressGatewayBridge.Builder
avoiding the need to create one manually viaIngressGatewayBridge.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toingressGatewayBridge(IngressGatewayBridge)
.- Parameters:
ingressGatewayBridge
- a consumer that will call methods onIngressGatewayBridge.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
name
The name of the bridge.- Parameters:
name
- The name of the bridge.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
outputs
The outputs on this bridge.- Parameters:
outputs
- The outputs on this bridge.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
outputs
The outputs on this bridge.- Parameters:
outputs
- The outputs on this bridge.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
outputs
The outputs on this bridge. This is a convenience method that creates an instance of theBridgeOutput.Builder
avoiding the need to create one manually viaBridgeOutput.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tooutputs(List<BridgeOutput>)
.- Parameters:
outputs
- a consumer that will call methods onBridgeOutput.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
placementArn
The placement Amazon Resource Number (ARN) of the bridge.- Parameters:
placementArn
- The placement Amazon Resource Number (ARN) of the bridge.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sourceFailoverConfig
Sets the value of the SourceFailoverConfig property for this object.- Parameters:
sourceFailoverConfig
- The new value for the SourceFailoverConfig property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sourceFailoverConfig
Sets the value of the SourceFailoverConfig property for this object. This is a convenience method that creates an instance of theFailoverConfig.Builder
avoiding the need to create one manually viaFailoverConfig.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tosourceFailoverConfig(FailoverConfig)
.- Parameters:
sourceFailoverConfig
- a consumer that will call methods onFailoverConfig.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
sources
The sources on this bridge.- Parameters:
sources
- The sources on this bridge.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sources
The sources on this bridge.- Parameters:
sources
- The sources on this bridge.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sources
The sources on this bridge. This is a convenience method that creates an instance of theBridgeSource.Builder
avoiding the need to create one manually viaBridgeSource.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tosources(List<BridgeSource>)
.- Parameters:
sources
- a consumer that will call methods onBridgeSource.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-