Interface UpdateGatewayRuleRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,BedrockAgentCoreControlRequest.Builder,Buildable,CopyableBuilder<UpdateGatewayRuleRequest.Builder,,UpdateGatewayRuleRequest> SdkBuilder<UpdateGatewayRuleRequest.Builder,,UpdateGatewayRuleRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
UpdateGatewayRuleRequest
@Mutable
@NotThreadSafe
public static interface UpdateGatewayRuleRequest.Builder
extends BedrockAgentCoreControlRequest.Builder, SdkPojo, CopyableBuilder<UpdateGatewayRuleRequest.Builder,UpdateGatewayRuleRequest>
-
Method Summary
Modifier and TypeMethodDescriptionactions(Collection<Action> actions) The updated actions for the rule.actions(Consumer<Action.Builder>... actions) The updated actions for the rule.The updated actions for the rule.conditions(Collection<Condition> conditions) The updated conditions for the rule.conditions(Consumer<Condition.Builder>... conditions) The updated conditions for the rule.conditions(Condition... conditions) The updated conditions for the rule.description(String description) The updated description of the rule.gatewayIdentifier(String gatewayIdentifier) The identifier of the gateway containing the rule.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.The updated priority of the rule.The unique identifier of the rule to update.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.services.bedrockagentcorecontrol.model.BedrockAgentCoreControlRequest.Builder
buildMethods 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
-
gatewayIdentifier
The identifier of the gateway containing the rule.
- Parameters:
gatewayIdentifier- The identifier of the gateway containing the rule.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ruleId
The unique identifier of the rule to update.
- Parameters:
ruleId- The unique identifier of the rule to update.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
priority
The updated priority of the rule.
- Parameters:
priority- The updated priority of the rule.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
conditions
The updated conditions for the rule.
- Parameters:
conditions- The updated conditions for the rule.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
conditions
The updated conditions for the rule.
- Parameters:
conditions- The updated conditions for the rule.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
conditions
The updated conditions for the rule.
This is a convenience method that creates an instance of theCondition.Builderavoiding the need to create one manually viaCondition.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toconditions(List<Condition>).- Parameters:
conditions- a consumer that will call methods onCondition.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
actions
The updated actions for the rule.
- Parameters:
actions- The updated actions for the rule.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
actions
The updated actions for the rule.
- Parameters:
actions- The updated actions for the rule.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
actions
The updated actions for the rule.
This is a convenience method that creates an instance of theAction.Builderavoiding the need to create one manually viaAction.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toactions(List<Action>).- Parameters:
actions- a consumer that will call methods onAction.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
description
The updated description of the rule.
- Parameters:
description- The updated description of the rule.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
UpdateGatewayRuleRequest.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
UpdateGatewayRuleRequest.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.
-