Interface CreateGatewayRuleRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,BedrockAgentCoreControlRequest.Builder,Buildable,CopyableBuilder<CreateGatewayRuleRequest.Builder,,CreateGatewayRuleRequest> SdkBuilder<CreateGatewayRuleRequest.Builder,,CreateGatewayRuleRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
CreateGatewayRuleRequest
-
Method Summary
Modifier and TypeMethodDescriptionactions(Collection<Action> actions) The actions to take when the rule conditions are met.actions(Consumer<Action.Builder>... actions) The actions to take when the rule conditions are met.The actions to take when the rule conditions are met.clientToken(String clientToken) A unique, case-sensitive identifier to ensure that the API request completes no more than one time.conditions(Collection<Condition> conditions) The conditions that must be met for the rule to apply.conditions(Consumer<Condition.Builder>... conditions) The conditions that must be met for the rule to apply.conditions(Condition... conditions) The conditions that must be met for the rule to apply.description(String description) The description of the gateway rule.gatewayIdentifier(String gatewayIdentifier) The identifier of the gateway to create a rule for.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.The priority of the rule.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 to create a rule for.
- Parameters:
gatewayIdentifier- The identifier of the gateway to create a rule for.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
clientToken
A unique, case-sensitive identifier to ensure that the API request completes no more than one time. If you don't specify this field, a value is randomly generated for you. If this token matches a previous request, the service ignores the request, but doesn't return an error. For more information, see Ensuring idempotency.
- Parameters:
clientToken- A unique, case-sensitive identifier to ensure that the API request completes no more than one time. If you don't specify this field, a value is randomly generated for you. If this token matches a previous request, the service ignores the request, but doesn't return an error. For more information, see Ensuring idempotency.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
priority
The priority of the rule. Rules are evaluated in order of priority, with lower numbers evaluated first. Must be between 1 and 1,000,000.
- Parameters:
priority- The priority of the rule. Rules are evaluated in order of priority, with lower numbers evaluated first. Must be between 1 and 1,000,000.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
conditions
The conditions that must be met for the rule to apply. Conditions can match on principals (IAM ARNs) or request paths.
- Parameters:
conditions- The conditions that must be met for the rule to apply. Conditions can match on principals (IAM ARNs) or request paths.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
conditions
The conditions that must be met for the rule to apply. Conditions can match on principals (IAM ARNs) or request paths.
- Parameters:
conditions- The conditions that must be met for the rule to apply. Conditions can match on principals (IAM ARNs) or request paths.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
conditions
The conditions that must be met for the rule to apply. Conditions can match on principals (IAM ARNs) or request paths.
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 actions to take when the rule conditions are met. Actions can route to a specific target or apply a configuration bundle override.
- Parameters:
actions- The actions to take when the rule conditions are met. Actions can route to a specific target or apply a configuration bundle override.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
actions
The actions to take when the rule conditions are met. Actions can route to a specific target or apply a configuration bundle override.
- Parameters:
actions- The actions to take when the rule conditions are met. Actions can route to a specific target or apply a configuration bundle override.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
actions
The actions to take when the rule conditions are met. Actions can route to a specific target or apply a configuration bundle override.
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 description of the gateway rule.
- Parameters:
description- The description of the gateway rule.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
CreateGatewayRuleRequest.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
CreateGatewayRuleRequest.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.
-