Interface OutboundStrategy.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<OutboundStrategy.Builder,
,OutboundStrategy> SdkBuilder<OutboundStrategy.Builder,
,OutboundStrategy> SdkPojo
- Enclosing class:
OutboundStrategy
@Mutable
@NotThreadSafe
public static interface OutboundStrategy.Builder
extends SdkPojo, CopyableBuilder<OutboundStrategy.Builder,OutboundStrategy>
-
Method Summary
Modifier and TypeMethodDescriptiondefault OutboundStrategy.Builder
config
(Consumer<OutboundStrategyConfig.Builder> config) Config of the outbound strategy.config
(OutboundStrategyConfig config) Config of the outbound strategy.Type of the outbound strategy.type
(OutboundStrategyType type) Type of the outbound strategy.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, sdkFieldNameToField, sdkFields
-
Method Details
-
type
Type of the outbound strategy.
- Parameters:
type
- Type of the outbound strategy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
type
Type of the outbound strategy.
- Parameters:
type
- Type of the outbound strategy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
config
Config of the outbound strategy.
- Parameters:
config
- Config of the outbound strategy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
config
Config of the outbound strategy.
This is a convenience method that creates an instance of theOutboundStrategyConfig.Builder
avoiding the need to create one manually viaOutboundStrategyConfig.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toconfig(OutboundStrategyConfig)
.- Parameters:
config
- a consumer that will call methods onOutboundStrategyConfig.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-