Interface VisibleRangeOptions.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<VisibleRangeOptions.Builder,
,VisibleRangeOptions> SdkBuilder<VisibleRangeOptions.Builder,
,VisibleRangeOptions> SdkPojo
- Enclosing class:
VisibleRangeOptions
@Mutable
@NotThreadSafe
public static interface VisibleRangeOptions.Builder
extends SdkPojo, CopyableBuilder<VisibleRangeOptions.Builder,VisibleRangeOptions>
-
Method Summary
Modifier and TypeMethodDescriptiondefault VisibleRangeOptions.Builder
percentRange
(Consumer<PercentVisibleRange.Builder> percentRange) The percent range in the visible range.percentRange
(PercentVisibleRange percentRange) The percent range in the visible range.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
-
percentRange
The percent range in the visible range.
- Parameters:
percentRange
- The percent range in the visible range.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
percentRange
default VisibleRangeOptions.Builder percentRange(Consumer<PercentVisibleRange.Builder> percentRange) The percent range in the visible range.
This is a convenience method that creates an instance of thePercentVisibleRange.Builder
avoiding the need to create one manually viaPercentVisibleRange.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed topercentRange(PercentVisibleRange)
.- Parameters:
percentRange
- a consumer that will call methods onPercentVisibleRange.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-