Interface CreateOauth2CredentialProviderRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,BedrockAgentCoreControlRequest.Builder
,Buildable
,CopyableBuilder<CreateOauth2CredentialProviderRequest.Builder,
,CreateOauth2CredentialProviderRequest> SdkBuilder<CreateOauth2CredentialProviderRequest.Builder,
,CreateOauth2CredentialProviderRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
CreateOauth2CredentialProviderRequest
@Mutable
@NotThreadSafe
public static interface CreateOauth2CredentialProviderRequest.Builder
extends BedrockAgentCoreControlRequest.Builder, SdkPojo, CopyableBuilder<CreateOauth2CredentialProviderRequest.Builder,CreateOauth2CredentialProviderRequest>
-
Method Summary
Modifier and TypeMethodDescriptioncredentialProviderVendor
(String credentialProviderVendor) The vendor of the OAuth2 credential provider.credentialProviderVendor
(CredentialProviderVendorType credentialProviderVendor) The vendor of the OAuth2 credential provider.The name of the OAuth2 credential provider.oauth2ProviderConfigInput
(Consumer<Oauth2ProviderConfigInput.Builder> oauth2ProviderConfigInput) The configuration settings for the OAuth2 provider, including client ID, client secret, and other vendor-specific settings.oauth2ProviderConfigInput
(Oauth2ProviderConfigInput oauth2ProviderConfigInput) The configuration settings for the OAuth2 provider, including client ID, client secret, and other vendor-specific settings.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.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
-
name
The name of the OAuth2 credential provider. The name must be unique within your account.
- Parameters:
name
- The name of the OAuth2 credential provider. The name must be unique within your account.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
credentialProviderVendor
CreateOauth2CredentialProviderRequest.Builder credentialProviderVendor(String credentialProviderVendor) The vendor of the OAuth2 credential provider. This specifies which OAuth2 implementation to use.
- Parameters:
credentialProviderVendor
- The vendor of the OAuth2 credential provider. This specifies which OAuth2 implementation to use.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
credentialProviderVendor
CreateOauth2CredentialProviderRequest.Builder credentialProviderVendor(CredentialProviderVendorType credentialProviderVendor) The vendor of the OAuth2 credential provider. This specifies which OAuth2 implementation to use.
- Parameters:
credentialProviderVendor
- The vendor of the OAuth2 credential provider. This specifies which OAuth2 implementation to use.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
oauth2ProviderConfigInput
CreateOauth2CredentialProviderRequest.Builder oauth2ProviderConfigInput(Oauth2ProviderConfigInput oauth2ProviderConfigInput) The configuration settings for the OAuth2 provider, including client ID, client secret, and other vendor-specific settings.
- Parameters:
oauth2ProviderConfigInput
- The configuration settings for the OAuth2 provider, including client ID, client secret, and other vendor-specific settings.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
oauth2ProviderConfigInput
default CreateOauth2CredentialProviderRequest.Builder oauth2ProviderConfigInput(Consumer<Oauth2ProviderConfigInput.Builder> oauth2ProviderConfigInput) The configuration settings for the OAuth2 provider, including client ID, client secret, and other vendor-specific settings.
This is a convenience method that creates an instance of theOauth2ProviderConfigInput.Builder
avoiding the need to create one manually viaOauth2ProviderConfigInput.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tooauth2ProviderConfigInput(Oauth2ProviderConfigInput)
.- Parameters:
oauth2ProviderConfigInput
- a consumer that will call methods onOauth2ProviderConfigInput.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
CreateOauth2CredentialProviderRequest.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
CreateOauth2CredentialProviderRequest.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.
-