Interface CreateGatewayTargetRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,BedrockAgentCoreControlRequest.Builder
,Buildable
,CopyableBuilder<CreateGatewayTargetRequest.Builder,
,CreateGatewayTargetRequest> SdkBuilder<CreateGatewayTargetRequest.Builder,
,CreateGatewayTargetRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
CreateGatewayTargetRequest
-
Method Summary
Modifier and TypeMethodDescriptionclientToken
(String clientToken) A unique, case-sensitive identifier to ensure that the operation completes no more than one time.credentialProviderConfigurations
(Collection<CredentialProviderConfiguration> credentialProviderConfigurations) The credential provider configurations for the target.credentialProviderConfigurations
(Consumer<CredentialProviderConfiguration.Builder>... credentialProviderConfigurations) The credential provider configurations for the target.credentialProviderConfigurations
(CredentialProviderConfiguration... credentialProviderConfigurations) The credential provider configurations for the target.description
(String description) The description of the gateway target.gatewayIdentifier
(String gatewayIdentifier) The identifier of the gateway to create a target for.The name of the gateway target.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.targetConfiguration
(Consumer<TargetConfiguration.Builder> targetConfiguration) The configuration settings for the target, including endpoint information and schema definitions.targetConfiguration
(TargetConfiguration targetConfiguration) The configuration settings for the target, including endpoint information and schema definitions.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.services.bedrockagentcorecontrol.model.BedrockAgentCoreControlRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
gatewayIdentifier
The identifier of the gateway to create a target for. This can be either the gateway ID or the gateway ARN.
- Parameters:
gatewayIdentifier
- The identifier of the gateway to create a target for. This can be either the gateway ID or the gateway ARN.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
The name of the gateway target. The name must be unique within the gateway.
- Parameters:
name
- The name of the gateway target. The name must be unique within the gateway.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
The description of the gateway target.
- Parameters:
description
- The description of the gateway target.- 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 operation completes no more than one time. If this token matches a previous request, Amazon Bedrock ignores the request but does not return an error.
- Parameters:
clientToken
- A unique, case-sensitive identifier to ensure that the operation completes no more than one time. If this token matches a previous request, Amazon Bedrock ignores the request but does not return an error.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
targetConfiguration
The configuration settings for the target, including endpoint information and schema definitions.
- Parameters:
targetConfiguration
- The configuration settings for the target, including endpoint information and schema definitions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
targetConfiguration
default CreateGatewayTargetRequest.Builder targetConfiguration(Consumer<TargetConfiguration.Builder> targetConfiguration) The configuration settings for the target, including endpoint information and schema definitions.
This is a convenience method that creates an instance of theTargetConfiguration.Builder
avoiding the need to create one manually viaTargetConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totargetConfiguration(TargetConfiguration)
.- Parameters:
targetConfiguration
- a consumer that will call methods onTargetConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
credentialProviderConfigurations
CreateGatewayTargetRequest.Builder credentialProviderConfigurations(Collection<CredentialProviderConfiguration> credentialProviderConfigurations) The credential provider configurations for the target. These configurations specify how the gateway authenticates with the target endpoint.
- Parameters:
credentialProviderConfigurations
- The credential provider configurations for the target. These configurations specify how the gateway authenticates with the target endpoint.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
credentialProviderConfigurations
CreateGatewayTargetRequest.Builder credentialProviderConfigurations(CredentialProviderConfiguration... credentialProviderConfigurations) The credential provider configurations for the target. These configurations specify how the gateway authenticates with the target endpoint.
- Parameters:
credentialProviderConfigurations
- The credential provider configurations for the target. These configurations specify how the gateway authenticates with the target endpoint.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
credentialProviderConfigurations
CreateGatewayTargetRequest.Builder credentialProviderConfigurations(Consumer<CredentialProviderConfiguration.Builder>... credentialProviderConfigurations) The credential provider configurations for the target. These configurations specify how the gateway authenticates with the target endpoint.
This is a convenience method that creates an instance of theCredentialProviderConfiguration.Builder
avoiding the need to create one manually viaCredentialProviderConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocredentialProviderConfigurations(List<CredentialProviderConfiguration>)
.- Parameters:
credentialProviderConfigurations
- a consumer that will call methods onCredentialProviderConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
CreateGatewayTargetRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
CreateGatewayTargetRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-