Interface HarnessTruncationConfiguration.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<HarnessTruncationConfiguration.Builder,,HarnessTruncationConfiguration> SdkBuilder<HarnessTruncationConfiguration.Builder,,HarnessTruncationConfiguration> SdkPojo
- Enclosing class:
HarnessTruncationConfiguration
@Mutable
@NotThreadSafe
public static interface HarnessTruncationConfiguration.Builder
extends SdkPojo, CopyableBuilder<HarnessTruncationConfiguration.Builder,HarnessTruncationConfiguration>
-
Method Summary
Modifier and TypeMethodDescriptionThe strategy-specific configuration.The strategy-specific configuration.The truncation strategy to use.strategy(HarnessTruncationStrategy strategy) The truncation strategy to use.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
-
strategy
The truncation strategy to use.
- Parameters:
strategy- The truncation strategy to use.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
strategy
The truncation strategy to use.
- Parameters:
strategy- The truncation strategy to use.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
config
The strategy-specific configuration.
- Parameters:
config- The strategy-specific configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
config
default HarnessTruncationConfiguration.Builder config(Consumer<HarnessTruncationStrategyConfiguration.Builder> config) The strategy-specific configuration.
This is a convenience method that creates an instance of theHarnessTruncationStrategyConfiguration.Builderavoiding the need to create one manually viaHarnessTruncationStrategyConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toconfig(HarnessTruncationStrategyConfiguration).- Parameters:
config- a consumer that will call methods onHarnessTruncationStrategyConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-