Interface Bridge.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<Bridge.Builder,Bridge>,SdkBuilder<Bridge.Builder,Bridge>,SdkPojo
- Enclosing class:
- Bridge
public static interface Bridge.Builder extends SdkPojo, CopyableBuilder<Bridge.Builder,Bridge>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description Bridge.BuilderbridgeArn(String bridgeArn)The Amazon Resource Number (ARN) of the bridge.Bridge.BuilderbridgeMessages(Collection<MessageDetail> bridgeMessages)Sets the value of the BridgeMessages property for this object.Bridge.BuilderbridgeMessages(Consumer<MessageDetail.Builder>... bridgeMessages)Sets the value of the BridgeMessages property for this object.Bridge.BuilderbridgeMessages(MessageDetail... bridgeMessages)Sets the value of the BridgeMessages property for this object.Bridge.BuilderbridgeState(String bridgeState)Sets the value of the BridgeState property for this object.Bridge.BuilderbridgeState(BridgeState bridgeState)Sets the value of the BridgeState property for this object.default Bridge.BuilderegressGatewayBridge(Consumer<EgressGatewayBridge.Builder> egressGatewayBridge)Sets the value of the EgressGatewayBridge property for this object.Bridge.BuilderegressGatewayBridge(EgressGatewayBridge egressGatewayBridge)Sets the value of the EgressGatewayBridge property for this object.default Bridge.BuilderingressGatewayBridge(Consumer<IngressGatewayBridge.Builder> ingressGatewayBridge)Sets the value of the IngressGatewayBridge property for this object.Bridge.BuilderingressGatewayBridge(IngressGatewayBridge ingressGatewayBridge)Sets the value of the IngressGatewayBridge property for this object.Bridge.Buildername(String name)The name of the bridge.Bridge.Builderoutputs(Collection<BridgeOutput> outputs)The outputs on this bridge.Bridge.Builderoutputs(Consumer<BridgeOutput.Builder>... outputs)The outputs on this bridge.Bridge.Builderoutputs(BridgeOutput... outputs)The outputs on this bridge.Bridge.BuilderplacementArn(String placementArn)The placement Amazon Resource Number (ARN) of the bridge.default Bridge.BuildersourceFailoverConfig(Consumer<FailoverConfig.Builder> sourceFailoverConfig)Sets the value of the SourceFailoverConfig property for this object.Bridge.BuildersourceFailoverConfig(FailoverConfig sourceFailoverConfig)Sets the value of the SourceFailoverConfig property for this object.Bridge.Buildersources(Collection<BridgeSource> sources)The sources on this bridge.Bridge.Buildersources(Consumer<BridgeSource.Builder>... sources)The sources on this bridge.Bridge.Buildersources(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 Detail
-
bridgeArn
Bridge.Builder bridgeArn(String 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
Bridge.Builder bridgeMessages(Collection<MessageDetail> 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
Bridge.Builder bridgeMessages(MessageDetail... 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
Bridge.Builder bridgeMessages(Consumer<MessageDetail.Builder>... bridgeMessages)
Sets the value of the BridgeMessages property for this object. This is a convenience method that creates an instance of theMessageDetail.Builderavoiding the need to create one manually viaMessageDetail.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#bridgeMessages(List.) - 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:
#bridgeMessages(java.util.Collection)
-
bridgeState
Bridge.Builder bridgeState(String 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,BridgeState
-
bridgeState
Bridge.Builder bridgeState(BridgeState 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,BridgeState
-
egressGatewayBridge
Bridge.Builder egressGatewayBridge(EgressGatewayBridge 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.Builderavoiding the need to create one manually viaEgressGatewayBridge.builder().When the
Consumercompletes,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:
egressGatewayBridge(EgressGatewayBridge)
-
ingressGatewayBridge
Bridge.Builder ingressGatewayBridge(IngressGatewayBridge 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.Builderavoiding the need to create one manually viaIngressGatewayBridge.builder().When the
Consumercompletes,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:
ingressGatewayBridge(IngressGatewayBridge)
-
name
Bridge.Builder name(String 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
Bridge.Builder outputs(Collection<BridgeOutput> 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
Bridge.Builder outputs(BridgeOutput... 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
Bridge.Builder outputs(Consumer<BridgeOutput.Builder>... outputs)
The outputs on this bridge. This is a convenience method that creates an instance of theBridgeOutput.Builderavoiding the need to create one manually viaBridgeOutput.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#outputs(List.) - 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:
#outputs(java.util.Collection)
-
placementArn
Bridge.Builder placementArn(String 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
Bridge.Builder sourceFailoverConfig(FailoverConfig 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
default Bridge.Builder sourceFailoverConfig(Consumer<FailoverConfig.Builder> sourceFailoverConfig)
Sets the value of the SourceFailoverConfig property for this object. This is a convenience method that creates an instance of theFailoverConfig.Builderavoiding the need to create one manually viaFailoverConfig.builder().When the
Consumercompletes,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:
sourceFailoverConfig(FailoverConfig)
-
sources
Bridge.Builder sources(Collection<BridgeSource> 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
Bridge.Builder sources(BridgeSource... 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
Bridge.Builder sources(Consumer<BridgeSource.Builder>... sources)
The sources on this bridge. This is a convenience method that creates an instance of theBridgeSource.Builderavoiding the need to create one manually viaBridgeSource.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#sources(List.) - 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:
#sources(java.util.Collection)
-
-