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 API request 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.metadataConfiguration(Consumer<MetadataConfiguration.Builder> metadataConfiguration) Optional configuration for HTTP header and query parameter propagation to and from the gateway target.metadataConfiguration(MetadataConfiguration metadataConfiguration) Optional configuration for HTTP header and query parameter propagation to and from the gateway target.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
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 target for.
- Parameters:
gatewayIdentifier- The identifier of the gateway to create a target for.- 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 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.
-
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.Builderavoiding the need to create one manually viaTargetConfiguration.builder().When the
Consumercompletes,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.Builderavoiding the need to create one manually viaCredentialProviderConfiguration.builder().When the
Consumercompletes,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:
-
metadataConfiguration
CreateGatewayTargetRequest.Builder metadataConfiguration(MetadataConfiguration metadataConfiguration) Optional configuration for HTTP header and query parameter propagation to and from the gateway target.
- Parameters:
metadataConfiguration- Optional configuration for HTTP header and query parameter propagation to and from the gateway target.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
metadataConfiguration
default CreateGatewayTargetRequest.Builder metadataConfiguration(Consumer<MetadataConfiguration.Builder> metadataConfiguration) Optional configuration for HTTP header and query parameter propagation to and from the gateway target.
This is a convenience method that creates an instance of theMetadataConfiguration.Builderavoiding the need to create one manually viaMetadataConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tometadataConfiguration(MetadataConfiguration).- Parameters:
metadataConfiguration- a consumer that will call methods onMetadataConfiguration.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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin 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.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.
-