Interface AuthProvider.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<AuthProvider.Builder,AuthProvider>,SdkBuilder<AuthProvider.Builder,AuthProvider>,SdkPojo
- Enclosing class:
- AuthProvider
public static interface AuthProvider.Builder extends SdkPojo, CopyableBuilder<AuthProvider.Builder,AuthProvider>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description AuthProvider.BuilderauthType(String authType)The authorization type.AuthProvider.BuilderauthType(AuthenticationType authType)The authorization type.default AuthProvider.BuildercognitoConfig(Consumer<CognitoConfig.Builder> cognitoConfig)Describes an Amazon Cognito user pool configuration.AuthProvider.BuildercognitoConfig(CognitoConfig cognitoConfig)Describes an Amazon Cognito user pool configuration.default AuthProvider.BuilderlambdaAuthorizerConfig(Consumer<LambdaAuthorizerConfig.Builder> lambdaAuthorizerConfig)Sets the value of the LambdaAuthorizerConfig property for this object.AuthProvider.BuilderlambdaAuthorizerConfig(LambdaAuthorizerConfig lambdaAuthorizerConfig)Sets the value of the LambdaAuthorizerConfig property for this object.default AuthProvider.BuilderopenIDConnectConfig(Consumer<OpenIDConnectConfig.Builder> openIDConnectConfig)Sets the value of the OpenIDConnectConfig property for this object.AuthProvider.BuilderopenIDConnectConfig(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 Detail
-
authType
AuthProvider.Builder authType(String 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:
AuthenticationType,AuthenticationType
-
authType
AuthProvider.Builder authType(AuthenticationType 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:
AuthenticationType,AuthenticationType
-
cognitoConfig
AuthProvider.Builder cognitoConfig(CognitoConfig 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
default AuthProvider.Builder cognitoConfig(Consumer<CognitoConfig.Builder> cognitoConfig)
Describes an Amazon Cognito user pool configuration.
This is a convenience method that creates an instance of theCognitoConfig.Builderavoiding the need to create one manually viaCognitoConfig.builder().When the
Consumercompletes,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:
cognitoConfig(CognitoConfig)
-
openIDConnectConfig
AuthProvider.Builder openIDConnectConfig(OpenIDConnectConfig 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.Builderavoiding the need to create one manually viaOpenIDConnectConfig.builder().When the
Consumercompletes,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:
openIDConnectConfig(OpenIDConnectConfig)
-
lambdaAuthorizerConfig
AuthProvider.Builder lambdaAuthorizerConfig(LambdaAuthorizerConfig 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.Builderavoiding the need to create one manually viaLambdaAuthorizerConfig.builder().When the
Consumercompletes,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:
lambdaAuthorizerConfig(LambdaAuthorizerConfig)
-
-