Interface ExpressionStatus.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ExpressionStatus.Builder,
,ExpressionStatus> SdkBuilder<ExpressionStatus.Builder,
,ExpressionStatus> SdkPojo
- Enclosing class:
ExpressionStatus
public static interface ExpressionStatus.Builder
extends SdkPojo, CopyableBuilder<ExpressionStatus.Builder,ExpressionStatus>
-
Method Summary
Modifier and TypeMethodDescriptiondefault ExpressionStatus.Builder
options
(Consumer<Expression.Builder> options) The expression that is evaluated for sorting while processing a search request.options
(Expression options) The expression that is evaluated for sorting while processing a search request.default ExpressionStatus.Builder
status
(Consumer<OptionStatus.Builder> status) Sets the value of the Status property for this object.status
(OptionStatus status) Sets the value of the Status 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
-
options
The expression that is evaluated for sorting while processing a search request.
- Parameters:
options
- The expression that is evaluated for sorting while processing a search request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
options
The expression that is evaluated for sorting while processing a search request.
This is a convenience method that creates an instance of theExpression.Builder
avoiding the need to create one manually viaExpression.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tooptions(Expression)
.- Parameters:
options
- a consumer that will call methods onExpression.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
Sets the value of the Status property for this object.- Parameters:
status
- The new value for the Status property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
Sets the value of the Status property for this object. This is a convenience method that creates an instance of theOptionStatus.Builder
avoiding the need to create one manually viaOptionStatus.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tostatus(OptionStatus)
.- Parameters:
status
- a consumer that will call methods onOptionStatus.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-