Interface IncludedOauth2ProviderConfigInput.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<IncludedOauth2ProviderConfigInput.Builder,,IncludedOauth2ProviderConfigInput> SdkBuilder<IncludedOauth2ProviderConfigInput.Builder,,IncludedOauth2ProviderConfigInput> SdkPojo
- Enclosing class:
IncludedOauth2ProviderConfigInput
-
Method Summary
Modifier and TypeMethodDescriptionauthorizationEndpoint(String authorizationEndpoint) OAuth2 authorization endpoint for your isolated OAuth2 application tenant.The client ID for the supported OAuth2 provider.clientSecret(String clientSecret) The client secret for the supported OAuth2 provider.clientSecretConfig(Consumer<SecretReference.Builder> clientSecretConfig) A reference to the Amazon Web Services Secrets Manager secret that stores the client secret.clientSecretConfig(SecretReference clientSecretConfig) A reference to the Amazon Web Services Secrets Manager secret that stores the client secret.clientSecretSource(String clientSecretSource) The source type of the client secret.clientSecretSource(SecretSourceType clientSecretSource) The source type of the client secret.Token issuer of your isolated OAuth2 application tenant.tokenEndpoint(String tokenEndpoint) OAuth2 token endpoint for your isolated OAuth2 application tenant.Methods 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
-
clientId
The client ID for the supported OAuth2 provider. This identifier is assigned by the OAuth2 provider when you register your application.
- Parameters:
clientId- The client ID for the supported OAuth2 provider. This identifier is assigned by the OAuth2 provider when you register your application.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
clientSecret
The client secret for the supported OAuth2 provider. This secret is assigned by the OAuth2 provider and used along with the client ID to authenticate your application.
- Parameters:
clientSecret- The client secret for the supported OAuth2 provider. This secret is assigned by the OAuth2 provider and used along with the client ID to authenticate your application.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
clientSecretConfig
A reference to the Amazon Web Services Secrets Manager secret that stores the client secret. This includes the secret ID and the JSON key used to extract the client secret value from the secret. Required when
clientSecretSourceis set toEXTERNAL.- Parameters:
clientSecretConfig- A reference to the Amazon Web Services Secrets Manager secret that stores the client secret. This includes the secret ID and the JSON key used to extract the client secret value from the secret. Required whenclientSecretSourceis set toEXTERNAL.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
clientSecretConfig
default IncludedOauth2ProviderConfigInput.Builder clientSecretConfig(Consumer<SecretReference.Builder> clientSecretConfig) A reference to the Amazon Web Services Secrets Manager secret that stores the client secret. This includes the secret ID and the JSON key used to extract the client secret value from the secret. Required when
This is a convenience method that creates an instance of theclientSecretSourceis set toEXTERNAL.SecretReference.Builderavoiding the need to create one manually viaSecretReference.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toclientSecretConfig(SecretReference).- Parameters:
clientSecretConfig- a consumer that will call methods onSecretReference.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
clientSecretSource
The source type of the client secret. Use
MANAGEDif the secret is managed by the service, orEXTERNALif you manage the secret yourself in Amazon Web Services Secrets Manager.- Parameters:
clientSecretSource- The source type of the client secret. UseMANAGEDif the secret is managed by the service, orEXTERNALif you manage the secret yourself in Amazon Web Services Secrets Manager.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
clientSecretSource
The source type of the client secret. Use
MANAGEDif the secret is managed by the service, orEXTERNALif you manage the secret yourself in Amazon Web Services Secrets Manager.- Parameters:
clientSecretSource- The source type of the client secret. UseMANAGEDif the secret is managed by the service, orEXTERNALif you manage the secret yourself in Amazon Web Services Secrets Manager.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
issuer
Token issuer of your isolated OAuth2 application tenant. This URL identifies the authorization server that issues tokens for this provider.
- Parameters:
issuer- Token issuer of your isolated OAuth2 application tenant. This URL identifies the authorization server that issues tokens for this provider.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
authorizationEndpoint
OAuth2 authorization endpoint for your isolated OAuth2 application tenant. This is where users are redirected to authenticate and authorize access to their resources.
- Parameters:
authorizationEndpoint- OAuth2 authorization endpoint for your isolated OAuth2 application tenant. This is where users are redirected to authenticate and authorize access to their resources.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tokenEndpoint
OAuth2 token endpoint for your isolated OAuth2 application tenant. This is where authorization codes are exchanged for access tokens.
- Parameters:
tokenEndpoint- OAuth2 token endpoint for your isolated OAuth2 application tenant. This is where authorization codes are exchanged for access tokens.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-