Class AppsyncGraphqlApiConfig.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.aws.appsync_graphql_api.AppsyncGraphqlApiConfig.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<AppsyncGraphqlApiConfig>
- Enclosing interface:
- AppsyncGraphqlApiConfig
@Stability(Stable) public static final class AppsyncGraphqlApiConfig.Builder extends Object implements software.amazon.jsii.Builder<AppsyncGraphqlApiConfig>
A builder forAppsyncGraphqlApiConfig
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
authenticationType
@Stability(Stable) public AppsyncGraphqlApiConfig.Builder authenticationType(String authenticationType)
Sets the value ofAppsyncGraphqlApiConfig.getAuthenticationType()- Parameters:
authenticationType- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/appsync_graphql_api#authentication_type AppsyncGraphqlApi#authentication_type}. This parameter is required.- Returns:
this
-
name
@Stability(Stable) public AppsyncGraphqlApiConfig.Builder name(String name)
Sets the value ofAppsyncGraphqlApiConfig.getName()- Parameters:
name- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/appsync_graphql_api#name AppsyncGraphqlApi#name}. This parameter is required.- Returns:
this
-
additionalAuthenticationProvider
@Stability(Stable) public AppsyncGraphqlApiConfig.Builder additionalAuthenticationProvider(com.hashicorp.cdktf.IResolvable additionalAuthenticationProvider)
Sets the value ofAppsyncGraphqlApiConfig.getAdditionalAuthenticationProvider()- Parameters:
additionalAuthenticationProvider- additional_authentication_provider block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/appsync_graphql_api#additional_authentication_provider AppsyncGraphqlApi#additional_authentication_provider}- Returns:
this
-
additionalAuthenticationProvider
@Stability(Stable) public AppsyncGraphqlApiConfig.Builder additionalAuthenticationProvider(List<? extends AppsyncGraphqlApiAdditionalAuthenticationProvider> additionalAuthenticationProvider)
Sets the value ofAppsyncGraphqlApiConfig.getAdditionalAuthenticationProvider()- Parameters:
additionalAuthenticationProvider- additional_authentication_provider block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/appsync_graphql_api#additional_authentication_provider AppsyncGraphqlApi#additional_authentication_provider}- Returns:
this
-
id
@Stability(Stable) public AppsyncGraphqlApiConfig.Builder id(String id)
Sets the value ofAppsyncGraphqlApiConfig.getId()- Parameters:
id- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/appsync_graphql_api#id AppsyncGraphqlApi#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
-
lambdaAuthorizerConfig
@Stability(Stable) public AppsyncGraphqlApiConfig.Builder lambdaAuthorizerConfig(AppsyncGraphqlApiLambdaAuthorizerConfig lambdaAuthorizerConfig)
Sets the value ofAppsyncGraphqlApiConfig.getLambdaAuthorizerConfig()- Parameters:
lambdaAuthorizerConfig- lambda_authorizer_config block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/appsync_graphql_api#lambda_authorizer_config AppsyncGraphqlApi#lambda_authorizer_config}- Returns:
this
-
logConfig
@Stability(Stable) public AppsyncGraphqlApiConfig.Builder logConfig(AppsyncGraphqlApiLogConfig logConfig)
Sets the value ofAppsyncGraphqlApiConfig.getLogConfig()- Parameters:
logConfig- log_config block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/appsync_graphql_api#log_config AppsyncGraphqlApi#log_config}- Returns:
this
-
openidConnectConfig
@Stability(Stable) public AppsyncGraphqlApiConfig.Builder openidConnectConfig(AppsyncGraphqlApiOpenidConnectConfig openidConnectConfig)
Sets the value ofAppsyncGraphqlApiConfig.getOpenidConnectConfig()- Parameters:
openidConnectConfig- openid_connect_config block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/appsync_graphql_api#openid_connect_config AppsyncGraphqlApi#openid_connect_config}- Returns:
this
-
schema
@Stability(Stable) public AppsyncGraphqlApiConfig.Builder schema(String schema)
Sets the value ofAppsyncGraphqlApiConfig.getSchema()- Parameters:
schema- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/appsync_graphql_api#schema AppsyncGraphqlApi#schema}.- Returns:
this
-
tags
@Stability(Stable) public AppsyncGraphqlApiConfig.Builder tags(Map<String,String> tags)
Sets the value ofAppsyncGraphqlApiConfig.getTags()- Parameters:
tags- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/appsync_graphql_api#tags AppsyncGraphqlApi#tags}.- Returns:
this
-
tagsAll
@Stability(Stable) public AppsyncGraphqlApiConfig.Builder tagsAll(Map<String,String> tagsAll)
Sets the value ofAppsyncGraphqlApiConfig.getTagsAll()- Parameters:
tagsAll- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/appsync_graphql_api#tags_all AppsyncGraphqlApi#tags_all}.- Returns:
this
-
userPoolConfig
@Stability(Stable) public AppsyncGraphqlApiConfig.Builder userPoolConfig(AppsyncGraphqlApiUserPoolConfig userPoolConfig)
Sets the value ofAppsyncGraphqlApiConfig.getUserPoolConfig()- Parameters:
userPoolConfig- user_pool_config block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/appsync_graphql_api#user_pool_config AppsyncGraphqlApi#user_pool_config}- Returns:
this
-
visibility
@Stability(Stable) public AppsyncGraphqlApiConfig.Builder visibility(String visibility)
Sets the value ofAppsyncGraphqlApiConfig.getVisibility()- Parameters:
visibility- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/appsync_graphql_api#visibility AppsyncGraphqlApi#visibility}.- Returns:
this
-
xrayEnabled
@Stability(Stable) public AppsyncGraphqlApiConfig.Builder xrayEnabled(Boolean xrayEnabled)
Sets the value ofAppsyncGraphqlApiConfig.getXrayEnabled()- Parameters:
xrayEnabled- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/appsync_graphql_api#xray_enabled AppsyncGraphqlApi#xray_enabled}.- Returns:
this
-
xrayEnabled
@Stability(Stable) public AppsyncGraphqlApiConfig.Builder xrayEnabled(com.hashicorp.cdktf.IResolvable xrayEnabled)
Sets the value ofAppsyncGraphqlApiConfig.getXrayEnabled()- Parameters:
xrayEnabled- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/appsync_graphql_api#xray_enabled AppsyncGraphqlApi#xray_enabled}.- Returns:
this
-
connection
@Stability(Experimental) public AppsyncGraphqlApiConfig.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 AppsyncGraphqlApiConfig.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 AppsyncGraphqlApiConfig.Builder count(Number count)
Sets the value ofTerraformMetaArguments.getCount()- Parameters:
count- the value to be set.- Returns:
this
-
count
@Stability(Experimental) public AppsyncGraphqlApiConfig.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 AppsyncGraphqlApiConfig.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 AppsyncGraphqlApiConfig.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 AppsyncGraphqlApiConfig.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 AppsyncGraphqlApiConfig.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 AppsyncGraphqlApiConfig.Builder provisioners(List<? extends Object> provisioners)
Sets the value ofTerraformMetaArguments.getProvisioners()- Parameters:
provisioners- the value to be set.- Returns:
this
-
build
@Stability(Stable) public AppsyncGraphqlApiConfig build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<AppsyncGraphqlApiConfig>- Returns:
- a new instance of
AppsyncGraphqlApiConfig - Throws:
NullPointerException- if any required attribute was not provided
-
-