Interface BackendAPIResourceConfig.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<BackendAPIResourceConfig.Builder,BackendAPIResourceConfig>,SdkBuilder<BackendAPIResourceConfig.Builder,BackendAPIResourceConfig>,SdkPojo
- Enclosing class:
- BackendAPIResourceConfig
public static interface BackendAPIResourceConfig.Builder extends SdkPojo, CopyableBuilder<BackendAPIResourceConfig.Builder,BackendAPIResourceConfig>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description BackendAPIResourceConfig.BuilderadditionalAuthTypes(Collection<BackendAPIAuthType> additionalAuthTypes)Additional authentication methods used to interact with your data models.BackendAPIResourceConfig.BuilderadditionalAuthTypes(Consumer<BackendAPIAuthType.Builder>... additionalAuthTypes)Additional authentication methods used to interact with your data models.BackendAPIResourceConfig.BuilderadditionalAuthTypes(BackendAPIAuthType... additionalAuthTypes)Additional authentication methods used to interact with your data models.BackendAPIResourceConfig.BuilderapiName(String apiName)The API name used to interact with the data model, configured as a part of your Amplify project.default BackendAPIResourceConfig.BuilderconflictResolution(Consumer<BackendAPIConflictResolution.Builder> conflictResolution)The conflict resolution strategy for your data stored in the data models.BackendAPIResourceConfig.BuilderconflictResolution(BackendAPIConflictResolution conflictResolution)The conflict resolution strategy for your data stored in the data models.default BackendAPIResourceConfig.BuilderdefaultAuthType(Consumer<BackendAPIAuthType.Builder> defaultAuthType)The default authentication type for interacting with the configured data models in your Amplify project.BackendAPIResourceConfig.BuilderdefaultAuthType(BackendAPIAuthType defaultAuthType)The default authentication type for interacting with the configured data models in your Amplify project.BackendAPIResourceConfig.Builderservice(String service)The service used to provision and interact with the data model.BackendAPIResourceConfig.BuildertransformSchema(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 Detail
-
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
BackendAPIResourceConfig.Builder additionalAuthTypes(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
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.Builderavoiding the need to create one manually viaBackendAPIAuthType.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#additionalAuthTypes(List.) - 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:
#additionalAuthTypes(java.util.Collection)
-
apiName
BackendAPIResourceConfig.Builder apiName(String 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.Builderavoiding the need to create one manually viaBackendAPIConflictResolution.builder().When the
Consumercompletes,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:
conflictResolution(BackendAPIConflictResolution)
-
defaultAuthType
BackendAPIResourceConfig.Builder defaultAuthType(BackendAPIAuthType 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.Builderavoiding the need to create one manually viaBackendAPIAuthType.builder().When the
Consumercompletes,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:
defaultAuthType(BackendAPIAuthType)
-
service
BackendAPIResourceConfig.Builder service(String 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
BackendAPIResourceConfig.Builder transformSchema(String 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.
-
-