Interface CreateBackendAuthResourceConfig.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<CreateBackendAuthResourceConfig.Builder,CreateBackendAuthResourceConfig>,SdkBuilder<CreateBackendAuthResourceConfig.Builder,CreateBackendAuthResourceConfig>,SdkPojo
- Enclosing class:
- CreateBackendAuthResourceConfig
public static interface CreateBackendAuthResourceConfig.Builder extends SdkPojo, CopyableBuilder<CreateBackendAuthResourceConfig.Builder,CreateBackendAuthResourceConfig>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description CreateBackendAuthResourceConfig.BuilderauthResources(String authResources)Defines whether you want to configure only authentication or both authentication and authorization settings.CreateBackendAuthResourceConfig.BuilderauthResources(AuthResources authResources)Defines whether you want to configure only authentication or both authentication and authorization settings.default CreateBackendAuthResourceConfig.BuilderidentityPoolConfigs(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.CreateBackendAuthResourceConfig.BuilderidentityPoolConfigs(CreateBackendAuthIdentityPoolConfig identityPoolConfigs)Describes the authorization configuration for the Amazon Cognito identity pool, provisioned as a part of your auth resource in the Amplify project.CreateBackendAuthResourceConfig.Builderservice(String service)Defines the service name to use when configuring an authentication resource in your Amplify project.CreateBackendAuthResourceConfig.Builderservice(Service service)Defines the service name to use when configuring an authentication resource in your Amplify project.default CreateBackendAuthResourceConfig.BuilderuserPoolConfigs(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.CreateBackendAuthResourceConfig.BuilderuserPoolConfigs(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 Detail
-
authResources
CreateBackendAuthResourceConfig.Builder authResources(String 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,AuthResources
-
authResources
CreateBackendAuthResourceConfig.Builder authResources(AuthResources 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,AuthResources
-
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.Builderavoiding the need to create one manually viaCreateBackendAuthIdentityPoolConfig.builder().When the
Consumercompletes,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:
identityPoolConfigs(CreateBackendAuthIdentityPoolConfig)
-
service
CreateBackendAuthResourceConfig.Builder service(String service)
Defines the service name to use when configuring an authentication resource in your Amplify project.
-
service
CreateBackendAuthResourceConfig.Builder service(Service service)
Defines the service name to use when configuring an authentication resource in your Amplify project.
-
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.Builderavoiding the need to create one manually viaCreateBackendAuthUserPoolConfig.builder().When the
Consumercompletes,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:
userPoolConfigs(CreateBackendAuthUserPoolConfig)
-
-