Class LoggingProjectBucketConfigIndexConfigs.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.logging_project_bucket_config.LoggingProjectBucketConfigIndexConfigs.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<LoggingProjectBucketConfigIndexConfigs>
- Enclosing interface:
- LoggingProjectBucketConfigIndexConfigs
@Stability(Stable) public static final class LoggingProjectBucketConfigIndexConfigs.Builder extends Object implements software.amazon.jsii.Builder<LoggingProjectBucketConfigIndexConfigs>
A builder forLoggingProjectBucketConfigIndexConfigs
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LoggingProjectBucketConfigIndexConfigsbuild()Builds the configured instance.LoggingProjectBucketConfigIndexConfigs.BuilderfieldPath(String fieldPath)Sets the value ofLoggingProjectBucketConfigIndexConfigs.getFieldPath()LoggingProjectBucketConfigIndexConfigs.Buildertype(String type)Sets the value ofLoggingProjectBucketConfigIndexConfigs.getType()
-
-
-
Method Detail
-
fieldPath
@Stability(Stable) public LoggingProjectBucketConfigIndexConfigs.Builder fieldPath(String fieldPath)
Sets the value ofLoggingProjectBucketConfigIndexConfigs.getFieldPath()- Parameters:
fieldPath- The LogEntry field path to index. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/logging_project_bucket_config#field_path LoggingProjectBucketConfig#field_path}- Returns:
this
-
type
@Stability(Stable) public LoggingProjectBucketConfigIndexConfigs.Builder type(String type)
Sets the value ofLoggingProjectBucketConfigIndexConfigs.getType()- Parameters:
type- The type of data in this index Note that some paths are automatically indexed, and other paths are not eligible for indexing. This parameter is required. See [indexing documentation](https://cloud.google.com/logging/docs/view/advanced-queries#indexed-fields) for details. For example: jsonPayload.request.status Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/logging_project_bucket_config#type LoggingProjectBucketConfig#type}- Returns:
this
-
build
@Stability(Stable) public LoggingProjectBucketConfigIndexConfigs build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<LoggingProjectBucketConfigIndexConfigs>- Returns:
- a new instance of
LoggingProjectBucketConfigIndexConfigs - Throws:
NullPointerException- if any required attribute was not provided
-
-