Interface CognitoOAuthConfigurationInput.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<CognitoOAuthConfigurationInput.Builder,,CognitoOAuthConfigurationInput> SdkBuilder<CognitoOAuthConfigurationInput.Builder,,CognitoOAuthConfigurationInput> SdkPojo
- Enclosing class:
CognitoOAuthConfigurationInput
@Mutable
@NotThreadSafe
public static interface CognitoOAuthConfigurationInput.Builder
extends SdkPojo, CopyableBuilder<CognitoOAuthConfigurationInput.Builder,CognitoOAuthConfigurationInput>
-
Method Summary
Modifier and TypeMethodDescriptionclientAuthenticationConfiguration(Consumer<ClientAuthenticationConfigurationInput.Builder> clientAuthenticationConfiguration) Sets the value of the ClientAuthenticationConfiguration property for this object.clientAuthenticationConfiguration(ClientAuthenticationConfigurationInput clientAuthenticationConfiguration) Sets the value of the ClientAuthenticationConfiguration property for this object.cognitoRegion(String cognitoRegion) Defaults to the call region when omitted.onBehalfOfTokenExchangeConfiguration(Consumer<OnBehalfOfTokenExchangeConfigurationInput.Builder> onBehalfOfTokenExchangeConfiguration) Sets the value of the OnBehalfOfTokenExchangeConfiguration property for this object.onBehalfOfTokenExchangeConfiguration(OnBehalfOfTokenExchangeConfigurationInput onBehalfOfTokenExchangeConfiguration) Sets the value of the OnBehalfOfTokenExchangeConfiguration property for this object.userPoolId(String userPoolId) Identifier of the Amazon Cognito user pool that issues the credentials.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
-
clientAuthenticationConfiguration
CognitoOAuthConfigurationInput.Builder clientAuthenticationConfiguration(ClientAuthenticationConfigurationInput clientAuthenticationConfiguration) Sets the value of the ClientAuthenticationConfiguration property for this object.- Parameters:
clientAuthenticationConfiguration- The new value for the ClientAuthenticationConfiguration property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
clientAuthenticationConfiguration
default CognitoOAuthConfigurationInput.Builder clientAuthenticationConfiguration(Consumer<ClientAuthenticationConfigurationInput.Builder> clientAuthenticationConfiguration) Sets the value of the ClientAuthenticationConfiguration property for this object. This is a convenience method that creates an instance of theClientAuthenticationConfigurationInput.Builderavoiding the need to create one manually viaClientAuthenticationConfigurationInput.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toclientAuthenticationConfiguration(ClientAuthenticationConfigurationInput).- Parameters:
clientAuthenticationConfiguration- a consumer that will call methods onClientAuthenticationConfigurationInput.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
userPoolId
Identifier of the Amazon Cognito user pool that issues the credentials.
- Parameters:
userPoolId- Identifier of the Amazon Cognito user pool that issues the credentials.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
cognitoRegion
Defaults to the call region when omitted.
- Parameters:
cognitoRegion- Defaults to the call region when omitted.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
onBehalfOfTokenExchangeConfiguration
CognitoOAuthConfigurationInput.Builder onBehalfOfTokenExchangeConfiguration(OnBehalfOfTokenExchangeConfigurationInput onBehalfOfTokenExchangeConfiguration) Sets the value of the OnBehalfOfTokenExchangeConfiguration property for this object.- Parameters:
onBehalfOfTokenExchangeConfiguration- The new value for the OnBehalfOfTokenExchangeConfiguration property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
onBehalfOfTokenExchangeConfiguration
default CognitoOAuthConfigurationInput.Builder onBehalfOfTokenExchangeConfiguration(Consumer<OnBehalfOfTokenExchangeConfigurationInput.Builder> onBehalfOfTokenExchangeConfiguration) Sets the value of the OnBehalfOfTokenExchangeConfiguration property for this object. This is a convenience method that creates an instance of theOnBehalfOfTokenExchangeConfigurationInput.Builderavoiding the need to create one manually viaOnBehalfOfTokenExchangeConfigurationInput.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toonBehalfOfTokenExchangeConfiguration(OnBehalfOfTokenExchangeConfigurationInput).- Parameters:
onBehalfOfTokenExchangeConfiguration- a consumer that will call methods onOnBehalfOfTokenExchangeConfigurationInput.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-