Interface UpdateRuleVersionRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<UpdateRuleVersionRequest.Builder,
,UpdateRuleVersionRequest> FraudDetectorRequest.Builder
,SdkBuilder<UpdateRuleVersionRequest.Builder,
,UpdateRuleVersionRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
UpdateRuleVersionRequest
public static interface UpdateRuleVersionRequest.Builder
extends FraudDetectorRequest.Builder, SdkPojo, CopyableBuilder<UpdateRuleVersionRequest.Builder,UpdateRuleVersionRequest>
-
Method Summary
Modifier and TypeMethodDescriptiondescription
(String description) The description.expression
(String expression) The rule expression.The language.The language.The outcomes.outcomes
(Collection<String> outcomes) The outcomes.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.default UpdateRuleVersionRequest.Builder
rule
(Consumer<Rule.Builder> rule) The rule to update.The rule to update.tags
(Collection<Tag> tags) The tags to assign to the rule version.tags
(Consumer<Tag.Builder>... tags) The tags to assign to the rule version.The tags to assign to the rule version.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.frauddetector.model.FraudDetectorRequest.Builder
build
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
-
rule
The rule to update.
- Parameters:
rule
- The rule to update.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
rule
The rule to update.
This is a convenience method that creates an instance of theRule.Builder
avoiding the need to create one manually viaRule.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed torule(Rule)
.- Parameters:
rule
- a consumer that will call methods onRule.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
description
The description.
- Parameters:
description
- The description.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
expression
The rule expression.
- Parameters:
expression
- The rule expression.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
language
The language.
- Parameters:
language
- The language.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
language
The language.
- Parameters:
language
- The language.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
outcomes
The outcomes.
- Parameters:
outcomes
- The outcomes.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
outcomes
The outcomes.
- Parameters:
outcomes
- The outcomes.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
The tags to assign to the rule version.
- Parameters:
tags
- The tags to assign to the rule version.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
The tags to assign to the rule version.
- Parameters:
tags
- The tags to assign to the rule version.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
The tags to assign to the rule version.
This is a convenience method that creates an instance of theTag.Builder
avoiding the need to create one manually viaTag.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totags(List<Tag>)
.- Parameters:
tags
- a consumer that will call methods onTag.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
UpdateRuleVersionRequest.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
UpdateRuleVersionRequest.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.
-