Interface ClientAuthenticationConfigurationInput.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<ClientAuthenticationConfigurationInput.Builder,,ClientAuthenticationConfigurationInput> SdkBuilder<ClientAuthenticationConfigurationInput.Builder,,ClientAuthenticationConfigurationInput> SdkPojo
- Enclosing class:
ClientAuthenticationConfigurationInput
-
Method Summary
Modifier and TypeMethodDescriptionclientAuthenticationMethod(String clientAuthenticationMethod) How the client authenticates to its authorization server.clientAuthenticationMethod(ClientAuthenticationMethod clientAuthenticationMethod) How the client authenticates to its authorization server.OAuth client identifier registered with the authorization server.clientSecret(Consumer<ClientSecretInput.Builder> clientSecret) The client secret, supplied either as a value for the service to store or as a reference to a secret you own.clientSecret(ClientSecretInput clientSecret) The client secret, supplied either as a value for the service to store or as a reference to a secret you own.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
-
clientAuthenticationMethod
ClientAuthenticationConfigurationInput.Builder clientAuthenticationMethod(String clientAuthenticationMethod) How the client authenticates to its authorization server. Optional: when omitted, the service defaults to CLIENT_SECRET_BASIC. CLIENT_SECRET_BASIC and CLIENT_SECRET_POST both require a clientSecret; NONE is a public client that sends no secret.
- Parameters:
clientAuthenticationMethod- How the client authenticates to its authorization server. Optional: when omitted, the service defaults to CLIENT_SECRET_BASIC. CLIENT_SECRET_BASIC and CLIENT_SECRET_POST both require a clientSecret; NONE is a public client that sends no secret.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
clientAuthenticationMethod
ClientAuthenticationConfigurationInput.Builder clientAuthenticationMethod(ClientAuthenticationMethod clientAuthenticationMethod) How the client authenticates to its authorization server. Optional: when omitted, the service defaults to CLIENT_SECRET_BASIC. CLIENT_SECRET_BASIC and CLIENT_SECRET_POST both require a clientSecret; NONE is a public client that sends no secret.
- Parameters:
clientAuthenticationMethod- How the client authenticates to its authorization server. Optional: when omitted, the service defaults to CLIENT_SECRET_BASIC. CLIENT_SECRET_BASIC and CLIENT_SECRET_POST both require a clientSecret; NONE is a public client that sends no secret.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
clientId
OAuth client identifier registered with the authorization server.
- Parameters:
clientId- OAuth client identifier registered with the authorization server.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
clientSecret
The client secret, supplied either as a value for the service to store or as a reference to a secret you own. Required when clientAuthenticationMethod is CLIENT_SECRET_BASIC or CLIENT_SECRET_POST, and must be omitted when it is NONE.
- Parameters:
clientSecret- The client secret, supplied either as a value for the service to store or as a reference to a secret you own. Required when clientAuthenticationMethod is CLIENT_SECRET_BASIC or CLIENT_SECRET_POST, and must be omitted when it is NONE.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
clientSecret
default ClientAuthenticationConfigurationInput.Builder clientSecret(Consumer<ClientSecretInput.Builder> clientSecret) The client secret, supplied either as a value for the service to store or as a reference to a secret you own. Required when clientAuthenticationMethod is CLIENT_SECRET_BASIC or CLIENT_SECRET_POST, and must be omitted when it is NONE.
This is a convenience method that creates an instance of theClientSecretInput.Builderavoiding the need to create one manually viaClientSecretInput.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toclientSecret(ClientSecretInput).- Parameters:
clientSecret- a consumer that will call methods onClientSecretInput.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-