Class AppsyncResolverConfig.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.aws.appsync_resolver.AppsyncResolverConfig.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<AppsyncResolverConfig>
- Enclosing interface:
- AppsyncResolverConfig
@Stability(Stable) public static final class AppsyncResolverConfig.Builder extends Object implements software.amazon.jsii.Builder<AppsyncResolverConfig>
A builder forAppsyncResolverConfig
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
apiId
@Stability(Stable) public AppsyncResolverConfig.Builder apiId(String apiId)
Sets the value ofAppsyncResolverConfig.getApiId()- 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 AppsyncResolverConfig.Builder field(String field)
Sets the value ofAppsyncResolverConfig.getField()- 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 AppsyncResolverConfig.Builder type(String type)
Sets the value ofAppsyncResolverConfig.getType()- 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 AppsyncResolverConfig.Builder cachingConfig(AppsyncResolverCachingConfig cachingConfig)
Sets the value ofAppsyncResolverConfig.getCachingConfig()- Parameters:
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}- Returns:
this
-
code
@Stability(Stable) public AppsyncResolverConfig.Builder code(String code)
Sets the value ofAppsyncResolverConfig.getCode()- Parameters:
code- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/appsync_resolver#code AppsyncResolver#code}.- Returns:
this
-
dataSource
@Stability(Stable) public AppsyncResolverConfig.Builder dataSource(String dataSource)
Sets the value ofAppsyncResolverConfig.getDataSource()- 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}.- Returns:
this
-
id
@Stability(Stable) public AppsyncResolverConfig.Builder id(String id)
Sets the value ofAppsyncResolverConfig.getId()- Parameters:
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.- Returns:
this
-
kind
@Stability(Stable) public AppsyncResolverConfig.Builder kind(String kind)
Sets the value ofAppsyncResolverConfig.getKind()- Parameters:
kind- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/appsync_resolver#kind AppsyncResolver#kind}.- Returns:
this
-
maxBatchSize
@Stability(Stable) public AppsyncResolverConfig.Builder maxBatchSize(Number maxBatchSize)
Sets the value ofAppsyncResolverConfig.getMaxBatchSize()- 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}.- Returns:
this
-
pipelineConfig
@Stability(Stable) public AppsyncResolverConfig.Builder pipelineConfig(AppsyncResolverPipelineConfig pipelineConfig)
Sets the value ofAppsyncResolverConfig.getPipelineConfig()- Parameters:
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}- Returns:
this
-
requestTemplate
@Stability(Stable) public AppsyncResolverConfig.Builder requestTemplate(String requestTemplate)
Sets the value ofAppsyncResolverConfig.getRequestTemplate()- 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}.- Returns:
this
-
responseTemplate
@Stability(Stable) public AppsyncResolverConfig.Builder responseTemplate(String responseTemplate)
Sets the value ofAppsyncResolverConfig.getResponseTemplate()- 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}.- Returns:
this
-
runtime
@Stability(Stable) public AppsyncResolverConfig.Builder runtime(AppsyncResolverRuntime runtime)
Sets the value ofAppsyncResolverConfig.getRuntime()- Parameters:
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}- Returns:
this
-
syncConfig
@Stability(Stable) public AppsyncResolverConfig.Builder syncConfig(AppsyncResolverSyncConfig syncConfig)
Sets the value ofAppsyncResolverConfig.getSyncConfig()- Parameters:
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}- Returns:
this
-
connection
@Stability(Experimental) public AppsyncResolverConfig.Builder connection(com.hashicorp.cdktf.SSHProvisionerConnection connection)
Sets the value ofTerraformMetaArguments.getConnection()- Parameters:
connection- the value to be set.- Returns:
this
-
connection
@Stability(Experimental) public AppsyncResolverConfig.Builder connection(com.hashicorp.cdktf.WinrmProvisionerConnection connection)
Sets the value ofTerraformMetaArguments.getConnection()- Parameters:
connection- the value to be set.- Returns:
this
-
count
@Stability(Experimental) public AppsyncResolverConfig.Builder count(Number count)
Sets the value ofTerraformMetaArguments.getCount()- Parameters:
count- the value to be set.- Returns:
this
-
count
@Stability(Experimental) public AppsyncResolverConfig.Builder count(com.hashicorp.cdktf.TerraformCount count)
Sets the value ofTerraformMetaArguments.getCount()- Parameters:
count- the value to be set.- Returns:
this
-
dependsOn
@Stability(Experimental) public AppsyncResolverConfig.Builder dependsOn(List<? extends com.hashicorp.cdktf.ITerraformDependable> dependsOn)
Sets the value ofTerraformMetaArguments.getDependsOn()- Parameters:
dependsOn- the value to be set.- Returns:
this
-
forEach
@Stability(Experimental) public AppsyncResolverConfig.Builder forEach(com.hashicorp.cdktf.ITerraformIterator forEach)
Sets the value ofTerraformMetaArguments.getForEach()- Parameters:
forEach- the value to be set.- Returns:
this
-
lifecycle
@Stability(Experimental) public AppsyncResolverConfig.Builder lifecycle(com.hashicorp.cdktf.TerraformResourceLifecycle lifecycle)
Sets the value ofTerraformMetaArguments.getLifecycle()- Parameters:
lifecycle- the value to be set.- Returns:
this
-
provider
@Stability(Experimental) public AppsyncResolverConfig.Builder provider(com.hashicorp.cdktf.TerraformProvider provider)
Sets the value ofTerraformMetaArguments.getProvider()- Parameters:
provider- the value to be set.- Returns:
this
-
provisioners
@Stability(Experimental) public AppsyncResolverConfig.Builder provisioners(List<? extends Object> provisioners)
Sets the value ofTerraformMetaArguments.getProvisioners()- Parameters:
provisioners- the value to be set.- Returns:
this
-
build
@Stability(Stable) public AppsyncResolverConfig build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<AppsyncResolverConfig>- Returns:
- a new instance of
AppsyncResolverConfig - Throws:
NullPointerException- if any required attribute was not provided
-
-