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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default TimeFilter.Builderfrom(Consumer<BlockchainInstant.Builder> from)Sets the value of the From property for this object.TimeFilter.Builderfrom(BlockchainInstant from)Sets the value of the From property for this object.default TimeFilter.Builderto(Consumer<BlockchainInstant.Builder> to)Sets the value of the To property for this object.TimeFilter.Builderto(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 Detail
-
from
TimeFilter.Builder from(BlockchainInstant 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
default TimeFilter.Builder from(Consumer<BlockchainInstant.Builder> from)
Sets the value of the From property for this object. This is a convenience method that creates an instance of theBlockchainInstant.Builderavoiding the need to create one manually viaBlockchainInstant.builder().When the
Consumercompletes,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:
from(BlockchainInstant)
-
to
TimeFilter.Builder to(BlockchainInstant 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
default TimeFilter.Builder to(Consumer<BlockchainInstant.Builder> to)
Sets the value of the To property for this object. This is a convenience method that creates an instance of theBlockchainInstant.Builderavoiding the need to create one manually viaBlockchainInstant.builder().When the
Consumercompletes,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:
to(BlockchainInstant)
-
-