Class AppsyncResolver.Builder

    • Method Detail

      • create

        @Stability(Stable)
        public static AppsyncResolver.Builder create​(software.constructs.Construct scope,
                                                     String id)
        Parameters:
        scope - The scope in which to define this construct. This parameter is required.
        id - The scoped construct ID. This parameter is required.
        Returns:
        a new instance of AppsyncResolver.Builder.
      • connection

        @Stability(Experimental)
        public AppsyncResolver.Builder connection​(com.hashicorp.cdktf.SSHProvisionerConnection connection)
        Parameters:
        connection - This parameter is required.
        Returns:
        this
      • connection

        @Stability(Experimental)
        public AppsyncResolver.Builder connection​(com.hashicorp.cdktf.WinrmProvisionerConnection connection)
        Parameters:
        connection - This parameter is required.
        Returns:
        this
      • count

        @Stability(Experimental)
        public AppsyncResolver.Builder count​(Number count)
        Parameters:
        count - This parameter is required.
        Returns:
        this
      • count

        @Stability(Experimental)
        public AppsyncResolver.Builder count​(com.hashicorp.cdktf.TerraformCount count)
        Parameters:
        count - This parameter is required.
        Returns:
        this
      • dependsOn

        @Stability(Experimental)
        public AppsyncResolver.Builder dependsOn​(List<? extends com.hashicorp.cdktf.ITerraformDependable> dependsOn)
        Parameters:
        dependsOn - This parameter is required.
        Returns:
        this
      • forEach

        @Stability(Experimental)
        public AppsyncResolver.Builder forEach​(com.hashicorp.cdktf.ITerraformIterator forEach)
        Parameters:
        forEach - This parameter is required.
        Returns:
        this
      • lifecycle

        @Stability(Experimental)
        public AppsyncResolver.Builder lifecycle​(com.hashicorp.cdktf.TerraformResourceLifecycle lifecycle)
        Parameters:
        lifecycle - This parameter is required.
        Returns:
        this
      • provider

        @Stability(Experimental)
        public AppsyncResolver.Builder provider​(com.hashicorp.cdktf.TerraformProvider provider)
        Parameters:
        provider - This parameter is required.
        Returns:
        this
      • provisioners

        @Stability(Experimental)
        public AppsyncResolver.Builder provisioners​(List<? extends Object> provisioners)
        Parameters:
        provisioners - This parameter is required.
        Returns:
        this
      • apiId

        @Stability(Stable)
        public AppsyncResolver.Builder apiId​(String apiId)
        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/appsync_resolver#api_id AppsyncResolver#api_id}.

        Parameters:
        apiId - Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/appsync_resolver#api_id AppsyncResolver#api_id}. This parameter is required.
        Returns:
        this
      • field

        @Stability(Stable)
        public AppsyncResolver.Builder field​(String field)
        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/appsync_resolver#field AppsyncResolver#field}.

        Parameters:
        field - Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/appsync_resolver#field AppsyncResolver#field}. This parameter is required.
        Returns:
        this
      • type

        @Stability(Stable)
        public AppsyncResolver.Builder type​(String type)
        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/appsync_resolver#type AppsyncResolver#type}.

        Parameters:
        type - Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/appsync_resolver#type AppsyncResolver#type}. This parameter is required.
        Returns:
        this
      • cachingConfig

        @Stability(Stable)
        public AppsyncResolver.Builder cachingConfig​(AppsyncResolverCachingConfig cachingConfig)
        caching_config block.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/appsync_resolver#caching_config AppsyncResolver#caching_config}

        Parameters:
        cachingConfig - caching_config block. This parameter is required.
        Returns:
        this
      • code

        @Stability(Stable)
        public AppsyncResolver.Builder code​(String code)
        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/appsync_resolver#code AppsyncResolver#code}.

        Parameters:
        code - Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/appsync_resolver#code AppsyncResolver#code}. This parameter is required.
        Returns:
        this
      • dataSource

        @Stability(Stable)
        public AppsyncResolver.Builder dataSource​(String dataSource)
        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/appsync_resolver#data_source AppsyncResolver#data_source}.

        Parameters:
        dataSource - Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/appsync_resolver#data_source AppsyncResolver#data_source}. This parameter is required.
        Returns:
        this
      • id

        @Stability(Stable)
        public AppsyncResolver.Builder id​(String id)
        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/appsync_resolver#id AppsyncResolver#id}.

        Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2. If you experience problems setting this value it might not be settable. Please take a look at the provider documentation to ensure it should be settable.

        Parameters:
        id - Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/appsync_resolver#id AppsyncResolver#id}. This parameter is required.
        Returns:
        this
      • kind

        @Stability(Stable)
        public AppsyncResolver.Builder kind​(String kind)
        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/appsync_resolver#kind AppsyncResolver#kind}.

        Parameters:
        kind - Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/appsync_resolver#kind AppsyncResolver#kind}. This parameter is required.
        Returns:
        this
      • maxBatchSize

        @Stability(Stable)
        public AppsyncResolver.Builder maxBatchSize​(Number maxBatchSize)
        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/appsync_resolver#max_batch_size AppsyncResolver#max_batch_size}.

        Parameters:
        maxBatchSize - Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/appsync_resolver#max_batch_size AppsyncResolver#max_batch_size}. This parameter is required.
        Returns:
        this
      • pipelineConfig

        @Stability(Stable)
        public AppsyncResolver.Builder pipelineConfig​(AppsyncResolverPipelineConfig pipelineConfig)
        pipeline_config block.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/appsync_resolver#pipeline_config AppsyncResolver#pipeline_config}

        Parameters:
        pipelineConfig - pipeline_config block. This parameter is required.
        Returns:
        this
      • requestTemplate

        @Stability(Stable)
        public AppsyncResolver.Builder requestTemplate​(String requestTemplate)
        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/appsync_resolver#request_template AppsyncResolver#request_template}.

        Parameters:
        requestTemplate - Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/appsync_resolver#request_template AppsyncResolver#request_template}. This parameter is required.
        Returns:
        this
      • responseTemplate

        @Stability(Stable)
        public AppsyncResolver.Builder responseTemplate​(String responseTemplate)
        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/appsync_resolver#response_template AppsyncResolver#response_template}.

        Parameters:
        responseTemplate - Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/appsync_resolver#response_template AppsyncResolver#response_template}. This parameter is required.
        Returns:
        this
      • runtime

        @Stability(Stable)
        public AppsyncResolver.Builder runtime​(AppsyncResolverRuntime runtime)
        runtime block.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/appsync_resolver#runtime AppsyncResolver#runtime}

        Parameters:
        runtime - runtime block. This parameter is required.
        Returns:
        this
      • syncConfig

        @Stability(Stable)
        public AppsyncResolver.Builder syncConfig​(AppsyncResolverSyncConfig syncConfig)
        sync_config block.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/appsync_resolver#sync_config AppsyncResolver#sync_config}

        Parameters:
        syncConfig - sync_config block. This parameter is required.
        Returns:
        this