Class AppsyncGraphqlApiLogConfig.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.aws.appsync_graphql_api.AppsyncGraphqlApiLogConfig.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<AppsyncGraphqlApiLogConfig>
- Enclosing interface:
- AppsyncGraphqlApiLogConfig
@Stability(Stable) public static final class AppsyncGraphqlApiLogConfig.Builder extends Object implements software.amazon.jsii.Builder<AppsyncGraphqlApiLogConfig>
A builder forAppsyncGraphqlApiLogConfig
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AppsyncGraphqlApiLogConfigbuild()Builds the configured instance.AppsyncGraphqlApiLogConfig.BuildercloudwatchLogsRoleArn(String cloudwatchLogsRoleArn)Sets the value ofAppsyncGraphqlApiLogConfig.getCloudwatchLogsRoleArn()AppsyncGraphqlApiLogConfig.BuilderexcludeVerboseContent(com.hashicorp.cdktf.IResolvable excludeVerboseContent)Sets the value ofAppsyncGraphqlApiLogConfig.getExcludeVerboseContent()AppsyncGraphqlApiLogConfig.BuilderexcludeVerboseContent(Boolean excludeVerboseContent)Sets the value ofAppsyncGraphqlApiLogConfig.getExcludeVerboseContent()AppsyncGraphqlApiLogConfig.BuilderfieldLogLevel(String fieldLogLevel)Sets the value ofAppsyncGraphqlApiLogConfig.getFieldLogLevel()
-
-
-
Method Detail
-
cloudwatchLogsRoleArn
@Stability(Stable) public AppsyncGraphqlApiLogConfig.Builder cloudwatchLogsRoleArn(String cloudwatchLogsRoleArn)
Sets the value ofAppsyncGraphqlApiLogConfig.getCloudwatchLogsRoleArn()- Parameters:
cloudwatchLogsRoleArn- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/appsync_graphql_api#cloudwatch_logs_role_arn AppsyncGraphqlApi#cloudwatch_logs_role_arn}. This parameter is required.- Returns:
this
-
fieldLogLevel
@Stability(Stable) public AppsyncGraphqlApiLogConfig.Builder fieldLogLevel(String fieldLogLevel)
Sets the value ofAppsyncGraphqlApiLogConfig.getFieldLogLevel()- Parameters:
fieldLogLevel- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/appsync_graphql_api#field_log_level AppsyncGraphqlApi#field_log_level}. This parameter is required.- Returns:
this
-
excludeVerboseContent
@Stability(Stable) public AppsyncGraphqlApiLogConfig.Builder excludeVerboseContent(Boolean excludeVerboseContent)
Sets the value ofAppsyncGraphqlApiLogConfig.getExcludeVerboseContent()- Parameters:
excludeVerboseContent- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/appsync_graphql_api#exclude_verbose_content AppsyncGraphqlApi#exclude_verbose_content}.- Returns:
this
-
excludeVerboseContent
@Stability(Stable) public AppsyncGraphqlApiLogConfig.Builder excludeVerboseContent(com.hashicorp.cdktf.IResolvable excludeVerboseContent)
Sets the value ofAppsyncGraphqlApiLogConfig.getExcludeVerboseContent()- Parameters:
excludeVerboseContent- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/appsync_graphql_api#exclude_verbose_content AppsyncGraphqlApi#exclude_verbose_content}.- Returns:
this
-
build
@Stability(Stable) public AppsyncGraphqlApiLogConfig build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<AppsyncGraphqlApiLogConfig>- Returns:
- a new instance of
AppsyncGraphqlApiLogConfig - Throws:
NullPointerException- if any required attribute was not provided
-
-