Interface AuthProvider.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<AuthProvider.Builder,
,AuthProvider> SdkBuilder<AuthProvider.Builder,
,AuthProvider> SdkPojo
- Enclosing class:
AuthProvider
@Mutable
@NotThreadSafe
public static interface AuthProvider.Builder
extends SdkPojo, CopyableBuilder<AuthProvider.Builder,AuthProvider>
-
Method Summary
Modifier and TypeMethodDescriptionThe authorization type.authType
(AuthenticationType authType) The authorization type.default AuthProvider.Builder
cognitoConfig
(Consumer<CognitoConfig.Builder> cognitoConfig) Describes an Amazon Cognito user pool configuration.cognitoConfig
(CognitoConfig cognitoConfig) Describes an Amazon Cognito user pool configuration.default AuthProvider.Builder
lambdaAuthorizerConfig
(Consumer<LambdaAuthorizerConfig.Builder> lambdaAuthorizerConfig) Sets the value of the LambdaAuthorizerConfig property for this object.lambdaAuthorizerConfig
(LambdaAuthorizerConfig lambdaAuthorizerConfig) Sets the value of the LambdaAuthorizerConfig property for this object.default AuthProvider.Builder
openIDConnectConfig
(Consumer<OpenIDConnectConfig.Builder> openIDConnectConfig) Sets the value of the OpenIDConnectConfig property for this object.openIDConnectConfig
(OpenIDConnectConfig openIDConnectConfig) Sets the value of the OpenIDConnectConfig property for this object.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
authType
The authorization type.
- Parameters:
authType
- The authorization type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
authType
The authorization type.
- Parameters:
authType
- The authorization type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
cognitoConfig
Describes an Amazon Cognito user pool configuration.
- Parameters:
cognitoConfig
- Describes an Amazon Cognito user pool configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
cognitoConfig
Describes an Amazon Cognito user pool configuration.
This is a convenience method that creates an instance of theCognitoConfig.Builder
avoiding the need to create one manually viaCognitoConfig.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocognitoConfig(CognitoConfig)
.- Parameters:
cognitoConfig
- a consumer that will call methods onCognitoConfig.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
openIDConnectConfig
Sets the value of the OpenIDConnectConfig property for this object.- Parameters:
openIDConnectConfig
- The new value for the OpenIDConnectConfig property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
openIDConnectConfig
default AuthProvider.Builder openIDConnectConfig(Consumer<OpenIDConnectConfig.Builder> openIDConnectConfig) Sets the value of the OpenIDConnectConfig property for this object. This is a convenience method that creates an instance of theOpenIDConnectConfig.Builder
avoiding the need to create one manually viaOpenIDConnectConfig.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toopenIDConnectConfig(OpenIDConnectConfig)
.- Parameters:
openIDConnectConfig
- a consumer that will call methods onOpenIDConnectConfig.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
lambdaAuthorizerConfig
Sets the value of the LambdaAuthorizerConfig property for this object.- Parameters:
lambdaAuthorizerConfig
- The new value for the LambdaAuthorizerConfig property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lambdaAuthorizerConfig
default AuthProvider.Builder lambdaAuthorizerConfig(Consumer<LambdaAuthorizerConfig.Builder> lambdaAuthorizerConfig) Sets the value of the LambdaAuthorizerConfig property for this object. This is a convenience method that creates an instance of theLambdaAuthorizerConfig.Builder
avoiding the need to create one manually viaLambdaAuthorizerConfig.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tolambdaAuthorizerConfig(LambdaAuthorizerConfig)
.- Parameters:
lambdaAuthorizerConfig
- a consumer that will call methods onLambdaAuthorizerConfig.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-