Interface UpdateRuleVersionRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<UpdateRuleVersionRequest.Builder,,UpdateRuleVersionRequest> FraudDetectorRequest.Builder,SdkBuilder<UpdateRuleVersionRequest.Builder,,UpdateRuleVersionRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
UpdateRuleVersionRequest
@Mutable
@NotThreadSafe
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.Builderrule(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
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.frauddetector.model.FraudDetectorRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, 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.Builderavoiding the need to create one manually viaRule.builder().When the
Consumercompletes,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.Builderavoiding the need to create one manually viaTag.builder().When the
Consumercompletes,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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin 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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-