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.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 list of private endpoint overrides for the custom OAuth2 provider.privateEndpointOverrides(Consumer<PrivateEndpointOverride.Builder>... privateEndpointOverrides) The list of private endpoint overrides for the custom OAuth2 provider.privateEndpointOverrides(PrivateEndpointOverride... privateEndpointOverrides) The list of private endpoint overrides for the custom OAuth2 provider.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.
-
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 list of private endpoint overrides for the custom OAuth2 provider. Each override maps a specific domain to a private endpoint, enabling secure connectivity through VPC Lattice resource configurations.
- Parameters:
privateEndpointOverrides- The list of private endpoint overrides for the custom OAuth2 provider. Each override maps a specific domain to a private endpoint, enabling secure connectivity through VPC Lattice resource configurations.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
privateEndpointOverrides
CustomOauth2ProviderConfigInput.Builder privateEndpointOverrides(PrivateEndpointOverride... privateEndpointOverrides) The list of private endpoint overrides for the custom OAuth2 provider. Each override maps a specific domain to a private endpoint, enabling secure connectivity through VPC Lattice resource configurations.
- Parameters:
privateEndpointOverrides- The list of private endpoint overrides for the custom OAuth2 provider. Each override maps a specific domain to a private endpoint, enabling secure connectivity through VPC Lattice resource configurations.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
privateEndpointOverrides
CustomOauth2ProviderConfigInput.Builder privateEndpointOverrides(Consumer<PrivateEndpointOverride.Builder>... privateEndpointOverrides) The list of private endpoint overrides for the custom OAuth2 provider. Each override maps a specific domain to a private endpoint, enabling secure connectivity through VPC Lattice resource configurations.
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:
-
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:
-