Interface SearchContactsAdditionalTimeRangeCriteria.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<SearchContactsAdditionalTimeRangeCriteria.Builder,,SearchContactsAdditionalTimeRangeCriteria> SdkBuilder<SearchContactsAdditionalTimeRangeCriteria.Builder,,SearchContactsAdditionalTimeRangeCriteria> SdkPojo
- Enclosing class:
SearchContactsAdditionalTimeRangeCriteria
@Mutable
@NotThreadSafe
public static interface SearchContactsAdditionalTimeRangeCriteria.Builder
extends SdkPojo, CopyableBuilder<SearchContactsAdditionalTimeRangeCriteria.Builder,SearchContactsAdditionalTimeRangeCriteria>
-
Method Summary
Modifier and TypeMethodDescriptiontimeRange(Consumer<SearchContactsTimeRange.Builder> timeRange) Sets the value of the TimeRange property for this object.timeRange(SearchContactsTimeRange timeRange) Sets the value of the TimeRange property for this object.timestampCondition(Consumer<SearchContactsTimestampCondition.Builder> timestampCondition) List of the timestamp conditions.timestampCondition(SearchContactsTimestampCondition timestampCondition) List of the timestamp conditions.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
-
timeRange
Sets the value of the TimeRange property for this object.- Parameters:
timeRange- The new value for the TimeRange property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
timeRange
default SearchContactsAdditionalTimeRangeCriteria.Builder timeRange(Consumer<SearchContactsTimeRange.Builder> timeRange) Sets the value of the TimeRange property for this object. This is a convenience method that creates an instance of theSearchContactsTimeRange.Builderavoiding the need to create one manually viaSearchContactsTimeRange.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totimeRange(SearchContactsTimeRange).- Parameters:
timeRange- a consumer that will call methods onSearchContactsTimeRange.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
timestampCondition
SearchContactsAdditionalTimeRangeCriteria.Builder timestampCondition(SearchContactsTimestampCondition timestampCondition) List of the timestamp conditions.
- Parameters:
timestampCondition- List of the timestamp conditions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
timestampCondition
default SearchContactsAdditionalTimeRangeCriteria.Builder timestampCondition(Consumer<SearchContactsTimestampCondition.Builder> timestampCondition) List of the timestamp conditions.
This is a convenience method that creates an instance of theSearchContactsTimestampCondition.Builderavoiding the need to create one manually viaSearchContactsTimestampCondition.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totimestampCondition(SearchContactsTimestampCondition).- Parameters:
timestampCondition- a consumer that will call methods onSearchContactsTimestampCondition.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-