Interface UpdateGatewayRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,BedrockAgentCoreControlRequest.Builder,Buildable,CopyableBuilder<UpdateGatewayRequest.Builder,,UpdateGatewayRequest> SdkBuilder<UpdateGatewayRequest.Builder,,UpdateGatewayRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
UpdateGatewayRequest
-
Method Summary
Modifier and TypeMethodDescriptiondefault UpdateGatewayRequest.BuilderauthorizerConfiguration(Consumer<AuthorizerConfiguration.Builder> authorizerConfiguration) The updated authorizer configuration for the gateway.authorizerConfiguration(AuthorizerConfiguration authorizerConfiguration) The updated authorizer configuration for the gateway.authorizerType(String authorizerType) The updated authorizer type for the gateway.authorizerType(AuthorizerType authorizerType) The updated authorizer type for the gateway.description(String description) The updated description for the gateway.exceptionLevel(String exceptionLevel) The level of detail in error messages returned when invoking the gateway.exceptionLevel(ExceptionLevel exceptionLevel) The level of detail in error messages returned when invoking the gateway.gatewayIdentifier(String gatewayIdentifier) The identifier of the gateway to update.interceptorConfigurations(Collection<GatewayInterceptorConfiguration> interceptorConfigurations) The updated interceptor configurations for the gateway.interceptorConfigurations(Consumer<GatewayInterceptorConfiguration.Builder>... interceptorConfigurations) The updated interceptor configurations for the gateway.interceptorConfigurations(GatewayInterceptorConfiguration... interceptorConfigurations) The updated interceptor configurations for the gateway.The updated ARN of the KMS key used to encrypt the gateway.The name of the gateway.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.default UpdateGatewayRequest.BuilderpolicyEngineConfiguration(Consumer<GatewayPolicyEngineConfiguration.Builder> policyEngineConfiguration) The updated policy engine configuration for the gateway.policyEngineConfiguration(GatewayPolicyEngineConfiguration policyEngineConfiguration) The updated policy engine configuration for the gateway.default UpdateGatewayRequest.BuilderprotocolConfiguration(Consumer<GatewayProtocolConfiguration.Builder> protocolConfiguration) Sets the value of the ProtocolConfiguration property for this object.protocolConfiguration(GatewayProtocolConfiguration protocolConfiguration) Sets the value of the ProtocolConfiguration property for this object.protocolType(String protocolType) The updated protocol type for the gateway.protocolType(GatewayProtocolType protocolType) The updated protocol type for the gateway.The updated IAM role ARN that provides permissions for the gateway.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 update.
- Parameters:
gatewayIdentifier- The identifier of the gateway to update.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
The name of the gateway. This name must be the same as the one when the gateway was created.
- Parameters:
name- The name of the gateway. This name must be the same as the one when the gateway was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
The updated description for the gateway.
- Parameters:
description- The updated description for the gateway.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
roleArn
The updated IAM role ARN that provides permissions for the gateway.
- Parameters:
roleArn- The updated IAM role ARN that provides permissions for the gateway.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
protocolType
The updated protocol type for the gateway.
- Parameters:
protocolType- The updated protocol type for the gateway.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
protocolType
The updated protocol type for the gateway.
- Parameters:
protocolType- The updated protocol type for the gateway.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
protocolConfiguration
UpdateGatewayRequest.Builder protocolConfiguration(GatewayProtocolConfiguration protocolConfiguration) Sets the value of the ProtocolConfiguration property for this object.- Parameters:
protocolConfiguration- The new value for the ProtocolConfiguration property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
protocolConfiguration
default UpdateGatewayRequest.Builder protocolConfiguration(Consumer<GatewayProtocolConfiguration.Builder> protocolConfiguration) Sets the value of the ProtocolConfiguration property for this object. This is a convenience method that creates an instance of theGatewayProtocolConfiguration.Builderavoiding the need to create one manually viaGatewayProtocolConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toprotocolConfiguration(GatewayProtocolConfiguration).- Parameters:
protocolConfiguration- a consumer that will call methods onGatewayProtocolConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
authorizerType
The updated authorizer type for the gateway.
- Parameters:
authorizerType- The updated authorizer type for the gateway.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
authorizerType
The updated authorizer type for the gateway.
- Parameters:
authorizerType- The updated authorizer type for the gateway.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
authorizerConfiguration
UpdateGatewayRequest.Builder authorizerConfiguration(AuthorizerConfiguration authorizerConfiguration) The updated authorizer configuration for the gateway.
- Parameters:
authorizerConfiguration- The updated authorizer configuration for the gateway.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
authorizerConfiguration
default UpdateGatewayRequest.Builder authorizerConfiguration(Consumer<AuthorizerConfiguration.Builder> authorizerConfiguration) The updated authorizer configuration for the gateway.
This is a convenience method that creates an instance of theAuthorizerConfiguration.Builderavoiding the need to create one manually viaAuthorizerConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toauthorizerConfiguration(AuthorizerConfiguration).- Parameters:
authorizerConfiguration- a consumer that will call methods onAuthorizerConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
kmsKeyArn
The updated ARN of the KMS key used to encrypt the gateway.
- Parameters:
kmsKeyArn- The updated ARN of the KMS key used to encrypt the gateway.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
interceptorConfigurations
UpdateGatewayRequest.Builder interceptorConfigurations(Collection<GatewayInterceptorConfiguration> interceptorConfigurations) The updated interceptor configurations for the gateway.
- Parameters:
interceptorConfigurations- The updated interceptor configurations for the gateway.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
interceptorConfigurations
UpdateGatewayRequest.Builder interceptorConfigurations(GatewayInterceptorConfiguration... interceptorConfigurations) The updated interceptor configurations for the gateway.
- Parameters:
interceptorConfigurations- The updated interceptor configurations for the gateway.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
interceptorConfigurations
UpdateGatewayRequest.Builder interceptorConfigurations(Consumer<GatewayInterceptorConfiguration.Builder>... interceptorConfigurations) The updated interceptor configurations for the gateway.
This is a convenience method that creates an instance of theGatewayInterceptorConfiguration.Builderavoiding the need to create one manually viaGatewayInterceptorConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tointerceptorConfigurations(List<GatewayInterceptorConfiguration>).- Parameters:
interceptorConfigurations- a consumer that will call methods onGatewayInterceptorConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
policyEngineConfiguration
UpdateGatewayRequest.Builder policyEngineConfiguration(GatewayPolicyEngineConfiguration policyEngineConfiguration) The updated policy engine configuration for the gateway. A policy engine is a collection of policies that evaluates and authorizes agent tool calls. When associated with a gateway, the policy engine intercepts all agent requests and determines whether to allow or deny each action based on the defined policies.
- Parameters:
policyEngineConfiguration- The updated policy engine configuration for the gateway. A policy engine is a collection of policies that evaluates and authorizes agent tool calls. When associated with a gateway, the policy engine intercepts all agent requests and determines whether to allow or deny each action based on the defined policies.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
policyEngineConfiguration
default UpdateGatewayRequest.Builder policyEngineConfiguration(Consumer<GatewayPolicyEngineConfiguration.Builder> policyEngineConfiguration) The updated policy engine configuration for the gateway. A policy engine is a collection of policies that evaluates and authorizes agent tool calls. When associated with a gateway, the policy engine intercepts all agent requests and determines whether to allow or deny each action based on the defined policies.
This is a convenience method that creates an instance of theGatewayPolicyEngineConfiguration.Builderavoiding the need to create one manually viaGatewayPolicyEngineConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed topolicyEngineConfiguration(GatewayPolicyEngineConfiguration).- Parameters:
policyEngineConfiguration- a consumer that will call methods onGatewayPolicyEngineConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
exceptionLevel
The level of detail in error messages returned when invoking the gateway.
-
If the value is
DEBUG, granular exception messages are returned to help a user debug the gateway. -
If the value is omitted, a generic error message is returned to the end user.
- Parameters:
exceptionLevel- The level of detail in error messages returned when invoking the gateway.-
If the value is
DEBUG, granular exception messages are returned to help a user debug the gateway. -
If the value is omitted, a generic error message is returned to the end user.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
exceptionLevel
The level of detail in error messages returned when invoking the gateway.
-
If the value is
DEBUG, granular exception messages are returned to help a user debug the gateway. -
If the value is omitted, a generic error message is returned to the end user.
- Parameters:
exceptionLevel- The level of detail in error messages returned when invoking the gateway.-
If the value is
DEBUG, granular exception messages are returned to help a user debug the gateway. -
If the value is omitted, a generic error message is returned to the end user.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
overrideConfiguration
UpdateGatewayRequest.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
UpdateGatewayRequest.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.
-