Class AppsyncResolverSyncConfig.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.aws.appsync_resolver.AppsyncResolverSyncConfig.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<AppsyncResolverSyncConfig>
- Enclosing interface:
- AppsyncResolverSyncConfig
@Stability(Stable) public static final class AppsyncResolverSyncConfig.Builder extends Object implements software.amazon.jsii.Builder<AppsyncResolverSyncConfig>
A builder forAppsyncResolverSyncConfig
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AppsyncResolverSyncConfigbuild()Builds the configured instance.AppsyncResolverSyncConfig.BuilderconflictDetection(String conflictDetection)Sets the value ofAppsyncResolverSyncConfig.getConflictDetection()AppsyncResolverSyncConfig.BuilderconflictHandler(String conflictHandler)Sets the value ofAppsyncResolverSyncConfig.getConflictHandler()AppsyncResolverSyncConfig.BuilderlambdaConflictHandlerConfig(AppsyncResolverSyncConfigLambdaConflictHandlerConfig lambdaConflictHandlerConfig)Sets the value ofAppsyncResolverSyncConfig.getLambdaConflictHandlerConfig()
-
-
-
Method Detail
-
conflictDetection
@Stability(Stable) public AppsyncResolverSyncConfig.Builder conflictDetection(String conflictDetection)
Sets the value ofAppsyncResolverSyncConfig.getConflictDetection()- Parameters:
conflictDetection- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/appsync_resolver#conflict_detection AppsyncResolver#conflict_detection}.- Returns:
this
-
conflictHandler
@Stability(Stable) public AppsyncResolverSyncConfig.Builder conflictHandler(String conflictHandler)
Sets the value ofAppsyncResolverSyncConfig.getConflictHandler()- Parameters:
conflictHandler- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/appsync_resolver#conflict_handler AppsyncResolver#conflict_handler}.- Returns:
this
-
lambdaConflictHandlerConfig
@Stability(Stable) public AppsyncResolverSyncConfig.Builder lambdaConflictHandlerConfig(AppsyncResolverSyncConfigLambdaConflictHandlerConfig lambdaConflictHandlerConfig)
Sets the value ofAppsyncResolverSyncConfig.getLambdaConflictHandlerConfig()- Parameters:
lambdaConflictHandlerConfig- lambda_conflict_handler_config block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/appsync_resolver#lambda_conflict_handler_config AppsyncResolver#lambda_conflict_handler_config}- Returns:
this
-
build
@Stability(Stable) public AppsyncResolverSyncConfig build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<AppsyncResolverSyncConfig>- Returns:
- a new instance of
AppsyncResolverSyncConfig - Throws:
NullPointerException- if any required attribute was not provided
-
-