Class SpotifyOAuth2CredentialProviderProps.Builder
java.lang.Object
software.amazon.awscdk.services.bedrockagentcore.SpotifyOAuth2CredentialProviderProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<SpotifyOAuth2CredentialProviderProps>
- Enclosing interface:
SpotifyOAuth2CredentialProviderProps
@Stability(Stable)
public static final class SpotifyOAuth2CredentialProviderProps.Builder
extends Object
implements software.amazon.jsii.Builder<SpotifyOAuth2CredentialProviderProps>
A builder for
SpotifyOAuth2CredentialProviderProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofOAuth2ClientCredentials.getClientId()clientSecret(SecretValue clientSecret) Sets the value ofOAuth2ClientCredentials.getClientSecret()oAuth2CredentialProviderName(String oAuth2CredentialProviderName) Sets the value ofOAuth2CredentialProviderBaseProps.getOAuth2CredentialProviderName()Sets the value ofOAuth2CredentialProviderBaseProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
oAuth2CredentialProviderName
@Stability(Stable) public SpotifyOAuth2CredentialProviderProps.Builder oAuth2CredentialProviderName(String oAuth2CredentialProviderName) Sets the value ofOAuth2CredentialProviderBaseProps.getOAuth2CredentialProviderName()- Parameters:
oAuth2CredentialProviderName- Name of the credential provider.- Returns:
this
-
tags
@Stability(Stable) public SpotifyOAuth2CredentialProviderProps.Builder tags(Map<String, String> tags) Sets the value ofOAuth2CredentialProviderBaseProps.getTags()- Parameters:
tags- Tags for this credential provider.- Returns:
this
-
clientId
Sets the value ofOAuth2ClientCredentials.getClientId()- Parameters:
clientId- OAuth2 client identifier. This parameter is required.- Returns:
this
-
clientSecret
@Stability(Stable) public SpotifyOAuth2CredentialProviderProps.Builder clientSecret(SecretValue clientSecret) Sets the value ofOAuth2ClientCredentials.getClientSecret()- Parameters:
clientSecret- OAuth2 client secret. This parameter is required. NOTE: The client secret will be included in the CloudFormation template as part of synthesis. The service stores the secret in Secrets Manager after creation, but the value is visible in the template and deployment history. UseSecretValue.unsafePlainText()to explicitly acknowledge plaintext, or pass a reference from another construct to avoid embedding the literal value.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<SpotifyOAuth2CredentialProviderProps>- Returns:
- a new instance of
SpotifyOAuth2CredentialProviderProps - Throws:
NullPointerException- if any required attribute was not provided
-