Interface MergeRouterInputConfiguration.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<MergeRouterInputConfiguration.Builder,,MergeRouterInputConfiguration> SdkBuilder<MergeRouterInputConfiguration.Builder,,MergeRouterInputConfiguration> SdkPojo
- Enclosing class:
MergeRouterInputConfiguration
@Mutable
@NotThreadSafe
public static interface MergeRouterInputConfiguration.Builder
extends SdkPojo, CopyableBuilder<MergeRouterInputConfiguration.Builder,MergeRouterInputConfiguration>
-
Method Summary
Modifier and TypeMethodDescriptionmergeRecoveryWindowMilliseconds(Long mergeRecoveryWindowMilliseconds) The time window in milliseconds for merging the two input sources.networkInterfaceArn(String networkInterfaceArn) The ARN of the network interface to use for this merge router input.protocolConfigurations(Collection<MergeRouterInputProtocolConfiguration> protocolConfigurations) A list of exactly two protocol configurations for the merge input sources.protocolConfigurations(Consumer<MergeRouterInputProtocolConfiguration.Builder>... protocolConfigurations) A list of exactly two protocol configurations for the merge input sources.protocolConfigurations(MergeRouterInputProtocolConfiguration... protocolConfigurations) A list of exactly two protocol configurations for the merge input sources.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
networkInterfaceArn
The ARN of the network interface to use for this merge router input.
- Parameters:
networkInterfaceArn- The ARN of the network interface to use for this merge router input.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
protocolConfigurations
MergeRouterInputConfiguration.Builder protocolConfigurations(Collection<MergeRouterInputProtocolConfiguration> protocolConfigurations) A list of exactly two protocol configurations for the merge input sources. Both must use the same protocol type.
- Parameters:
protocolConfigurations- A list of exactly two protocol configurations for the merge input sources. Both must use the same protocol type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
protocolConfigurations
MergeRouterInputConfiguration.Builder protocolConfigurations(MergeRouterInputProtocolConfiguration... protocolConfigurations) A list of exactly two protocol configurations for the merge input sources. Both must use the same protocol type.
- Parameters:
protocolConfigurations- A list of exactly two protocol configurations for the merge input sources. Both must use the same protocol type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
protocolConfigurations
MergeRouterInputConfiguration.Builder protocolConfigurations(Consumer<MergeRouterInputProtocolConfiguration.Builder>... protocolConfigurations) A list of exactly two protocol configurations for the merge input sources. Both must use the same protocol type.
This is a convenience method that creates an instance of theMergeRouterInputProtocolConfiguration.Builderavoiding the need to create one manually viaMergeRouterInputProtocolConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toprotocolConfigurations(List<MergeRouterInputProtocolConfiguration>).- Parameters:
protocolConfigurations- a consumer that will call methods onMergeRouterInputProtocolConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
mergeRecoveryWindowMilliseconds
MergeRouterInputConfiguration.Builder mergeRecoveryWindowMilliseconds(Long mergeRecoveryWindowMilliseconds) The time window in milliseconds for merging the two input sources.
- Parameters:
mergeRecoveryWindowMilliseconds- The time window in milliseconds for merging the two input sources.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-