Interface DefineExpressionRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CloudSearchRequest.Builder
,CopyableBuilder<DefineExpressionRequest.Builder,
,DefineExpressionRequest> SdkBuilder<DefineExpressionRequest.Builder,
,DefineExpressionRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
DefineExpressionRequest
public static interface DefineExpressionRequest.Builder
extends CloudSearchRequest.Builder, SdkPojo, CopyableBuilder<DefineExpressionRequest.Builder,DefineExpressionRequest>
-
Method Summary
Modifier and TypeMethodDescriptiondomainName
(String domainName) Sets the value of the DomainName property for this object.default DefineExpressionRequest.Builder
expression
(Consumer<Expression.Builder> expression) Sets the value of the Expression property for this object.expression
(Expression expression) Sets the value of the Expression property for this object.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.services.cloudsearch.model.CloudSearchRequest.Builder
build
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
-
domainName
Sets the value of the DomainName property for this object.- Parameters:
domainName
- The new value for the DomainName property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
expression
Sets the value of the Expression property for this object.- Parameters:
expression
- The new value for the Expression property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
expression
Sets the value of the Expression property for this object. 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 toexpression(Expression)
.- Parameters:
expression
- 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:
-
overrideConfiguration
DefineExpressionRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
DefineExpressionRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-