Interface GithubOauth2ProviderConfigInput.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<GithubOauth2ProviderConfigInput.Builder,,GithubOauth2ProviderConfigInput> SdkBuilder<GithubOauth2ProviderConfigInput.Builder,,GithubOauth2ProviderConfigInput> SdkPojo
- Enclosing class:
GithubOauth2ProviderConfigInput
-
Method Summary
Modifier and TypeMethodDescriptionThe client ID for the GitHub OAuth2 provider.clientSecret(String clientSecret) The client secret for the GitHub 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.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 GitHub OAuth2 provider.
- Parameters:
clientId- The client ID for the GitHub OAuth2 provider.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
clientSecret
The client secret for the GitHub OAuth2 provider.
- Parameters:
clientSecret- The client secret for the GitHub OAuth2 provider.- 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 GithubOauth2ProviderConfigInput.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:
-