Interface CreateBackendAuthResourceConfig.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<CreateBackendAuthResourceConfig.Builder,
,CreateBackendAuthResourceConfig> SdkBuilder<CreateBackendAuthResourceConfig.Builder,
,CreateBackendAuthResourceConfig> SdkPojo
- Enclosing class:
CreateBackendAuthResourceConfig
-
Method Summary
Modifier and TypeMethodDescriptionauthResources
(String authResources) Defines whether you want to configure only authentication or both authentication and authorization settings.authResources
(AuthResources authResources) Defines whether you want to configure only authentication or both authentication and authorization settings.identityPoolConfigs
(Consumer<CreateBackendAuthIdentityPoolConfig.Builder> identityPoolConfigs) Describes the authorization configuration for the Amazon Cognito identity pool, provisioned as a part of your auth resource in the Amplify project.identityPoolConfigs
(CreateBackendAuthIdentityPoolConfig identityPoolConfigs) Describes the authorization configuration for the Amazon Cognito identity pool, provisioned as a part of your auth resource in the Amplify project.Defines the service name to use when configuring an authentication resource in your Amplify project.Defines the service name to use when configuring an authentication resource in your Amplify project.userPoolConfigs
(Consumer<CreateBackendAuthUserPoolConfig.Builder> userPoolConfigs) Describes authentication configuration for the Amazon Cognito user pool, provisioned as a part of your auth resource in the Amplify project.userPoolConfigs
(CreateBackendAuthUserPoolConfig userPoolConfigs) Describes authentication configuration for the Amazon Cognito user pool, provisioned as a part of your auth resource in the Amplify project.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, sdkFields
-
Method Details
-
authResources
Defines whether you want to configure only authentication or both authentication and authorization settings.
- Parameters:
authResources
- Defines whether you want to configure only authentication or both authentication and authorization settings.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
authResources
Defines whether you want to configure only authentication or both authentication and authorization settings.
- Parameters:
authResources
- Defines whether you want to configure only authentication or both authentication and authorization settings.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
identityPoolConfigs
CreateBackendAuthResourceConfig.Builder identityPoolConfigs(CreateBackendAuthIdentityPoolConfig identityPoolConfigs) Describes the authorization configuration for the Amazon Cognito identity pool, provisioned as a part of your auth resource in the Amplify project.
- Parameters:
identityPoolConfigs
- Describes the authorization configuration for the Amazon Cognito identity pool, provisioned as a part of your auth resource in the Amplify project.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
identityPoolConfigs
default CreateBackendAuthResourceConfig.Builder identityPoolConfigs(Consumer<CreateBackendAuthIdentityPoolConfig.Builder> identityPoolConfigs) Describes the authorization configuration for the Amazon Cognito identity pool, provisioned as a part of your auth resource in the Amplify project.
This is a convenience method that creates an instance of theCreateBackendAuthIdentityPoolConfig.Builder
avoiding the need to create one manually viaCreateBackendAuthIdentityPoolConfig.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toidentityPoolConfigs(CreateBackendAuthIdentityPoolConfig)
.- Parameters:
identityPoolConfigs
- a consumer that will call methods onCreateBackendAuthIdentityPoolConfig.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
service
Defines the service name to use when configuring an authentication resource in your Amplify project.
- Parameters:
service
- Defines the service name to use when configuring an authentication resource in your Amplify project.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
service
Defines the service name to use when configuring an authentication resource in your Amplify project.
- Parameters:
service
- Defines the service name to use when configuring an authentication resource in your Amplify project.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
userPoolConfigs
CreateBackendAuthResourceConfig.Builder userPoolConfigs(CreateBackendAuthUserPoolConfig userPoolConfigs) Describes authentication configuration for the Amazon Cognito user pool, provisioned as a part of your auth resource in the Amplify project.
- Parameters:
userPoolConfigs
- Describes authentication configuration for the Amazon Cognito user pool, provisioned as a part of your auth resource in the Amplify project.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
userPoolConfigs
default CreateBackendAuthResourceConfig.Builder userPoolConfigs(Consumer<CreateBackendAuthUserPoolConfig.Builder> userPoolConfigs) Describes authentication configuration for the Amazon Cognito user pool, provisioned as a part of your auth resource in the Amplify project.
This is a convenience method that creates an instance of theCreateBackendAuthUserPoolConfig.Builder
avoiding the need to create one manually viaCreateBackendAuthUserPoolConfig.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed touserPoolConfigs(CreateBackendAuthUserPoolConfig)
.- Parameters:
userPoolConfigs
- a consumer that will call methods onCreateBackendAuthUserPoolConfig.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-