Interface TimeFilter.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<TimeFilter.Builder,
,TimeFilter> SdkBuilder<TimeFilter.Builder,
,TimeFilter> SdkPojo
- Enclosing class:
TimeFilter
public static interface TimeFilter.Builder
extends SdkPojo, CopyableBuilder<TimeFilter.Builder,TimeFilter>
-
Method Summary
Modifier and TypeMethodDescriptiondefault TimeFilter.Builder
Sets the value of the From property for this object.from
(BlockchainInstant from) Sets the value of the From property for this object.default TimeFilter.Builder
Sets the value of the To property for this object.to
(BlockchainInstant to) Sets the value of the To property for this object.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 Details
-
from
Sets the value of the From property for this object.- Parameters:
from
- The new value for the From property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
from
Sets the value of the From property for this object. This is a convenience method that creates an instance of theBlockchainInstant.Builder
avoiding the need to create one manually viaBlockchainInstant.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tofrom(BlockchainInstant)
.- Parameters:
from
- a consumer that will call methods onBlockchainInstant.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
to
Sets the value of the To property for this object.- Parameters:
to
- The new value for the To property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
to
Sets the value of the To property for this object. This is a convenience method that creates an instance of theBlockchainInstant.Builder
avoiding the need to create one manually viaBlockchainInstant.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toto(BlockchainInstant)
.- Parameters:
to
- a consumer that will call methods onBlockchainInstant.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-