Interface CustomOauth2ProviderConfigInput.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<CustomOauth2ProviderConfigInput.Builder,,CustomOauth2ProviderConfigInput> SdkBuilder<CustomOauth2ProviderConfigInput.Builder,,CustomOauth2ProviderConfigInput> SdkPojo
- Enclosing class:
CustomOauth2ProviderConfigInput
-
Method Summary
Modifier and TypeMethodDescriptionclientAuthenticationMethod(String clientAuthenticationMethod) The client authentication method to use when authenticating with the token endpoint.clientAuthenticationMethod(ClientAuthenticationMethodType clientAuthenticationMethod) The client authentication method to use when authenticating with the token endpoint.The client ID for the custom OAuth2 provider.clientSecret(String clientSecret) The client secret for the custom 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.oauthDiscovery(Consumer<Oauth2Discovery.Builder> oauthDiscovery) The OAuth2 discovery information for the custom provider.oauthDiscovery(Oauth2Discovery oauthDiscovery) The OAuth2 discovery information for the custom provider.onBehalfOfTokenExchangeConfig(Consumer<OnBehalfOfTokenExchangeConfigType.Builder> onBehalfOfTokenExchangeConfig) The configuration for on-behalf-of token exchange.onBehalfOfTokenExchangeConfig(OnBehalfOfTokenExchangeConfigType onBehalfOfTokenExchangeConfig) The configuration for on-behalf-of token exchange.privateEndpoint(Consumer<PrivateEndpoint.Builder> privateEndpoint) The default private endpoint for the custom OAuth2 provider, enabling secure connectivity through a VPC Lattice resource configuration.privateEndpoint(PrivateEndpoint privateEndpoint) The default private endpoint for the custom OAuth2 provider, enabling secure connectivity through a VPC Lattice resource configuration.privateEndpointOverrides(Collection<PrivateEndpointOverride> privateEndpointOverrides) The private endpoint overrides for the custom OAuth2 provider configuration.privateEndpointOverrides(Consumer<PrivateEndpointOverride.Builder>... privateEndpointOverrides) The private endpoint overrides for the custom OAuth2 provider configuration.privateEndpointOverrides(PrivateEndpointOverride... privateEndpointOverrides) The private endpoint overrides for the custom OAuth2 provider configuration.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
-
oauthDiscovery
The OAuth2 discovery information for the custom provider.
- Parameters:
oauthDiscovery- The OAuth2 discovery information for the custom provider.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
oauthDiscovery
default CustomOauth2ProviderConfigInput.Builder oauthDiscovery(Consumer<Oauth2Discovery.Builder> oauthDiscovery) The OAuth2 discovery information for the custom provider.
This is a convenience method that creates an instance of theOauth2Discovery.Builderavoiding the need to create one manually viaOauth2Discovery.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tooauthDiscovery(Oauth2Discovery).- Parameters:
oauthDiscovery- a consumer that will call methods onOauth2Discovery.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
clientId
The client ID for the custom OAuth2 provider.
- Parameters:
clientId- The client ID for the custom OAuth2 provider.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
clientSecret
The client secret for the custom OAuth2 provider.
- Parameters:
clientSecret- The client secret for the custom 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 CustomOauth2ProviderConfigInput.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:
-
onBehalfOfTokenExchangeConfig
CustomOauth2ProviderConfigInput.Builder onBehalfOfTokenExchangeConfig(OnBehalfOfTokenExchangeConfigType onBehalfOfTokenExchangeConfig) The configuration for on-behalf-of token exchange. This enables authentication flows that use RFC 8693 token exchange or RFC 7523 JWT authorization grants.
- Parameters:
onBehalfOfTokenExchangeConfig- The configuration for on-behalf-of token exchange. This enables authentication flows that use RFC 8693 token exchange or RFC 7523 JWT authorization grants.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
onBehalfOfTokenExchangeConfig
default CustomOauth2ProviderConfigInput.Builder onBehalfOfTokenExchangeConfig(Consumer<OnBehalfOfTokenExchangeConfigType.Builder> onBehalfOfTokenExchangeConfig) The configuration for on-behalf-of token exchange. This enables authentication flows that use RFC 8693 token exchange or RFC 7523 JWT authorization grants.
This is a convenience method that creates an instance of theOnBehalfOfTokenExchangeConfigType.Builderavoiding the need to create one manually viaOnBehalfOfTokenExchangeConfigType.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toonBehalfOfTokenExchangeConfig(OnBehalfOfTokenExchangeConfigType).- Parameters:
onBehalfOfTokenExchangeConfig- a consumer that will call methods onOnBehalfOfTokenExchangeConfigType.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
clientAuthenticationMethod
CustomOauth2ProviderConfigInput.Builder clientAuthenticationMethod(String clientAuthenticationMethod) The client authentication method to use when authenticating with the token endpoint.
- Parameters:
clientAuthenticationMethod- The client authentication method to use when authenticating with the token endpoint.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
clientAuthenticationMethod
CustomOauth2ProviderConfigInput.Builder clientAuthenticationMethod(ClientAuthenticationMethodType clientAuthenticationMethod) The client authentication method to use when authenticating with the token endpoint.
- Parameters:
clientAuthenticationMethod- The client authentication method to use when authenticating with the token endpoint.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
privateEndpoint
The default private endpoint for the custom OAuth2 provider, enabling secure connectivity through a VPC Lattice resource configuration.
- Parameters:
privateEndpoint- The default private endpoint for the custom OAuth2 provider, enabling secure connectivity through a VPC Lattice resource configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
privateEndpoint
default CustomOauth2ProviderConfigInput.Builder privateEndpoint(Consumer<PrivateEndpoint.Builder> privateEndpoint) The default private endpoint for the custom OAuth2 provider, enabling secure connectivity through a VPC Lattice resource configuration.
This is a convenience method that creates an instance of thePrivateEndpoint.Builderavoiding the need to create one manually viaPrivateEndpoint.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toprivateEndpoint(PrivateEndpoint).- Parameters:
privateEndpoint- a consumer that will call methods onPrivateEndpoint.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
privateEndpointOverrides
CustomOauth2ProviderConfigInput.Builder privateEndpointOverrides(Collection<PrivateEndpointOverride> privateEndpointOverrides) The private endpoint overrides for the custom OAuth2 provider configuration.
- Parameters:
privateEndpointOverrides- The private endpoint overrides for the custom OAuth2 provider configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
privateEndpointOverrides
CustomOauth2ProviderConfigInput.Builder privateEndpointOverrides(PrivateEndpointOverride... privateEndpointOverrides) The private endpoint overrides for the custom OAuth2 provider configuration.
- Parameters:
privateEndpointOverrides- The private endpoint overrides for the custom OAuth2 provider configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
privateEndpointOverrides
CustomOauth2ProviderConfigInput.Builder privateEndpointOverrides(Consumer<PrivateEndpointOverride.Builder>... privateEndpointOverrides) The private endpoint overrides for the custom OAuth2 provider configuration.
This is a convenience method that creates an instance of thePrivateEndpointOverride.Builderavoiding the need to create one manually viaPrivateEndpointOverride.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toprivateEndpointOverrides(List<PrivateEndpointOverride>).- Parameters:
privateEndpointOverrides- a consumer that will call methods onPrivateEndpointOverride.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-