Interface CreateGatewayRequest.Builder
- All Superinterfaces:
- AwsRequest.Builder,- BedrockAgentCoreControlRequest.Builder,- Buildable,- CopyableBuilder<CreateGatewayRequest.Builder,,- CreateGatewayRequest> - SdkBuilder<CreateGatewayRequest.Builder,,- CreateGatewayRequest> - SdkPojo,- SdkRequest.Builder
- Enclosing class:
- CreateGatewayRequest
- 
Method SummaryModifier and TypeMethodDescriptiondefault CreateGatewayRequest.BuilderauthorizerConfiguration(Consumer<AuthorizerConfiguration.Builder> authorizerConfiguration) The authorizer configuration for the gateway.authorizerConfiguration(AuthorizerConfiguration authorizerConfiguration) The authorizer configuration for the gateway.authorizerType(String authorizerType) The type of authorizer to use for the gateway.authorizerType(AuthorizerType authorizerType) The type of authorizer to use for the gateway.clientToken(String clientToken) A unique, case-sensitive identifier to ensure that the API request completes no more than one time.description(String description) The description of 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.The Amazon Resource Name (ARN) of the KMS key used to encrypt data associated with 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 CreateGatewayRequest.BuilderprotocolConfiguration(Consumer<GatewayProtocolConfiguration.Builder> protocolConfiguration) The configuration settings for the protocol specified in theprotocolTypeparameter.protocolConfiguration(GatewayProtocolConfiguration protocolConfiguration) The configuration settings for the protocol specified in theprotocolTypeparameter.protocolType(String protocolType) The protocol type for the gateway.protocolType(GatewayProtocolType protocolType) The protocol type for the gateway.The Amazon Resource Name (ARN) of the IAM role that provides permissions for the gateway to access Amazon Web Services services.A map of key-value pairs to associate with the gateway as metadata tags.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.BuilderoverrideConfigurationMethods inherited from interface software.amazon.awssdk.services.bedrockagentcorecontrol.model.BedrockAgentCoreControlRequest.BuilderbuildMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldNameToField, sdkFields
- 
Method Details- 
nameThe name of the gateway. The name must be unique within your account. - Parameters:
- name- The name of the gateway. The name must be unique within your account.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
descriptionThe description of the gateway. - Parameters:
- description- The description of the gateway.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
clientTokenA 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.
 
- 
roleArnThe Amazon Resource Name (ARN) of the IAM role that provides permissions for the gateway to access Amazon Web Services services. - Parameters:
- roleArn- The Amazon Resource Name (ARN) of the IAM role that provides permissions for the gateway to access Amazon Web Services services.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
protocolTypeThe protocol type for the gateway. - Parameters:
- protocolType- The protocol type for the gateway.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
protocolTypeThe protocol type for the gateway. - Parameters:
- protocolType- The protocol type for the gateway.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
protocolConfigurationCreateGatewayRequest.Builder protocolConfiguration(GatewayProtocolConfiguration protocolConfiguration) The configuration settings for the protocol specified in the protocolTypeparameter.- Parameters:
- protocolConfiguration- The configuration settings for the protocol specified in the- protocolTypeparameter.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
protocolConfigurationdefault CreateGatewayRequest.Builder protocolConfiguration(Consumer<GatewayProtocolConfiguration.Builder> protocolConfiguration) The configuration settings for the protocol specified in the This is a convenience method that creates an instance of theprotocolTypeparameter.GatewayProtocolConfiguration.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 on- GatewayProtocolConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
authorizerTypeThe type of authorizer to use for the gateway. - 
 CUSTOM_JWT- Authorize with a bearer token.
- 
 AWS_IAM- Authorize with your Amazon Web Services IAM credentials.
 - Parameters:
- authorizerType- The type of authorizer to use for the gateway.- 
        CUSTOM_JWT- Authorize with a bearer token.
- 
        AWS_IAM- Authorize with your Amazon Web Services IAM credentials.
 
- 
        
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
 
- 
authorizerTypeThe type of authorizer to use for the gateway. - 
 CUSTOM_JWT- Authorize with a bearer token.
- 
 AWS_IAM- Authorize with your Amazon Web Services IAM credentials.
 - Parameters:
- authorizerType- The type of authorizer to use for the gateway.- 
        CUSTOM_JWT- Authorize with a bearer token.
- 
        AWS_IAM- Authorize with your Amazon Web Services IAM credentials.
 
- 
        
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
 
- 
authorizerConfigurationCreateGatewayRequest.Builder authorizerConfiguration(AuthorizerConfiguration authorizerConfiguration) The authorizer configuration for the gateway. Required if authorizerTypeisCUSTOM_JWT.- Parameters:
- authorizerConfiguration- The authorizer configuration for the gateway. Required if- authorizerTypeis- CUSTOM_JWT.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
authorizerConfigurationdefault CreateGatewayRequest.Builder authorizerConfiguration(Consumer<AuthorizerConfiguration.Builder> authorizerConfiguration) The authorizer configuration for the gateway. Required if This is a convenience method that creates an instance of theauthorizerTypeisCUSTOM_JWT.AuthorizerConfiguration.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 on- AuthorizerConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
kmsKeyArnThe Amazon Resource Name (ARN) of the KMS key used to encrypt data associated with the gateway. - Parameters:
- kmsKeyArn- The Amazon Resource Name (ARN) of the KMS key used to encrypt data associated with the gateway.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
exceptionLevelThe 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:
 
- 
 
- 
exceptionLevelThe 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:
 
- 
 
- 
tagsA map of key-value pairs to associate with the gateway as metadata tags. - Parameters:
- tags- A map of key-value pairs to associate with the gateway as metadata tags.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
overrideConfigurationCreateGatewayRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
- overrideConfigurationin interface- AwsRequest.Builder
- Parameters:
- overrideConfiguration- The override configuration.
- Returns:
- This object for method chaining.
 
- 
overrideConfigurationCreateGatewayRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
- overrideConfigurationin interface- AwsRequest.Builder
- Parameters:
- builderConsumer- A- Consumerto which an empty- AwsRequestOverrideConfiguration.Builderwill be given.
- Returns:
- This object for method chaining.
 
 
-