Interface BackendAPIResourceConfig.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<BackendAPIResourceConfig.Builder,
,BackendAPIResourceConfig> SdkBuilder<BackendAPIResourceConfig.Builder,
,BackendAPIResourceConfig> SdkPojo
- Enclosing class:
BackendAPIResourceConfig
-
Method Summary
Modifier and TypeMethodDescriptionadditionalAuthTypes
(Collection<BackendAPIAuthType> additionalAuthTypes) Additional authentication methods used to interact with your data models.additionalAuthTypes
(Consumer<BackendAPIAuthType.Builder>... additionalAuthTypes) Additional authentication methods used to interact with your data models.additionalAuthTypes
(BackendAPIAuthType... additionalAuthTypes) Additional authentication methods used to interact with your data models.The API name used to interact with the data model, configured as a part of your Amplify project.default BackendAPIResourceConfig.Builder
conflictResolution
(Consumer<BackendAPIConflictResolution.Builder> conflictResolution) The conflict resolution strategy for your data stored in the data models.conflictResolution
(BackendAPIConflictResolution conflictResolution) The conflict resolution strategy for your data stored in the data models.default BackendAPIResourceConfig.Builder
defaultAuthType
(Consumer<BackendAPIAuthType.Builder> defaultAuthType) The default authentication type for interacting with the configured data models in your Amplify project.defaultAuthType
(BackendAPIAuthType defaultAuthType) The default authentication type for interacting with the configured data models in your Amplify project.The service used to provision and interact with the data model.transformSchema
(String transformSchema) The definition of the data model in the annotated transform of the GraphQL schema.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
-
additionalAuthTypes
BackendAPIResourceConfig.Builder additionalAuthTypes(Collection<BackendAPIAuthType> additionalAuthTypes) Additional authentication methods used to interact with your data models.
- Parameters:
additionalAuthTypes
- Additional authentication methods used to interact with your data models.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
additionalAuthTypes
Additional authentication methods used to interact with your data models.
- Parameters:
additionalAuthTypes
- Additional authentication methods used to interact with your data models.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
additionalAuthTypes
BackendAPIResourceConfig.Builder additionalAuthTypes(Consumer<BackendAPIAuthType.Builder>... additionalAuthTypes) Additional authentication methods used to interact with your data models.
This is a convenience method that creates an instance of theBackendAPIAuthType.Builder
avoiding the need to create one manually viaBackendAPIAuthType.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toadditionalAuthTypes(List<BackendAPIAuthType>)
.- Parameters:
additionalAuthTypes
- a consumer that will call methods onBackendAPIAuthType.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
apiName
The API name used to interact with the data model, configured as a part of your Amplify project.
- Parameters:
apiName
- The API name used to interact with the data model, configured as a part of your Amplify project.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
conflictResolution
BackendAPIResourceConfig.Builder conflictResolution(BackendAPIConflictResolution conflictResolution) The conflict resolution strategy for your data stored in the data models.
- Parameters:
conflictResolution
- The conflict resolution strategy for your data stored in the data models.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
conflictResolution
default BackendAPIResourceConfig.Builder conflictResolution(Consumer<BackendAPIConflictResolution.Builder> conflictResolution) The conflict resolution strategy for your data stored in the data models.
This is a convenience method that creates an instance of theBackendAPIConflictResolution.Builder
avoiding the need to create one manually viaBackendAPIConflictResolution.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toconflictResolution(BackendAPIConflictResolution)
.- Parameters:
conflictResolution
- a consumer that will call methods onBackendAPIConflictResolution.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
defaultAuthType
The default authentication type for interacting with the configured data models in your Amplify project.
- Parameters:
defaultAuthType
- The default authentication type for interacting with the configured data models in your Amplify project.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
defaultAuthType
default BackendAPIResourceConfig.Builder defaultAuthType(Consumer<BackendAPIAuthType.Builder> defaultAuthType) The default authentication type for interacting with the configured data models in your Amplify project.
This is a convenience method that creates an instance of theBackendAPIAuthType.Builder
avoiding the need to create one manually viaBackendAPIAuthType.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todefaultAuthType(BackendAPIAuthType)
.- Parameters:
defaultAuthType
- a consumer that will call methods onBackendAPIAuthType.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
service
The service used to provision and interact with the data model.
- Parameters:
service
- The service used to provision and interact with the data model.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
transformSchema
The definition of the data model in the annotated transform of the GraphQL schema.
- Parameters:
transformSchema
- The definition of the data model in the annotated transform of the GraphQL schema.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-