Class LoggingFolderBucketConfig.Builder

    • Method Detail

      • connection

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

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

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

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

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

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

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

        @Stability(Stable)
        public LoggingFolderBucketConfig.Builder bucketId​(String bucketId)
        The name of the logging bucket. Logging automatically creates two log buckets: _Required and _Default.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/logging_folder_bucket_config#bucket_id LoggingFolderBucketConfig#bucket_id}

        Parameters:
        bucketId - The name of the logging bucket. Logging automatically creates two log buckets: _Required and _Default. This parameter is required.
        Returns:
        this
      • folder

        @Stability(Stable)
        public LoggingFolderBucketConfig.Builder folder​(String folder)
        The parent resource that contains the logging bucket.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/logging_folder_bucket_config#folder LoggingFolderBucketConfig#folder}

        Parameters:
        folder - The parent resource that contains the logging bucket. This parameter is required.
        Returns:
        this
      • location

        @Stability(Stable)
        public LoggingFolderBucketConfig.Builder location​(String location)
        The location of the bucket.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/logging_folder_bucket_config#location LoggingFolderBucketConfig#location}

        Parameters:
        location - The location of the bucket. This parameter is required.
        Returns:
        this
      • cmekSettings

        @Stability(Stable)
        public LoggingFolderBucketConfig.Builder cmekSettings​(LoggingFolderBucketConfigCmekSettings cmekSettings)
        cmek_settings block.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/logging_folder_bucket_config#cmek_settings LoggingFolderBucketConfig#cmek_settings}

        Parameters:
        cmekSettings - cmek_settings block. This parameter is required.
        Returns:
        this
      • description

        @Stability(Stable)
        public LoggingFolderBucketConfig.Builder description​(String description)
        An optional description for this bucket.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/logging_folder_bucket_config#description LoggingFolderBucketConfig#description}

        Parameters:
        description - An optional description for this bucket. This parameter is required.
        Returns:
        this
      • id

        @Stability(Stable)
        public LoggingFolderBucketConfig.Builder id​(String id)
        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/logging_folder_bucket_config#id LoggingFolderBucketConfig#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/google/5.43.1/docs/resources/logging_folder_bucket_config#id LoggingFolderBucketConfig#id}. This parameter is required.
        Returns:
        this
      • indexConfigs

        @Stability(Stable)
        public LoggingFolderBucketConfig.Builder indexConfigs​(com.hashicorp.cdktf.IResolvable indexConfigs)
        index_configs block.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/logging_folder_bucket_config#index_configs LoggingFolderBucketConfig#index_configs}

        Parameters:
        indexConfigs - index_configs block. This parameter is required.
        Returns:
        this
      • indexConfigs

        @Stability(Stable)
        public LoggingFolderBucketConfig.Builder indexConfigs​(List<? extends LoggingFolderBucketConfigIndexConfigs> indexConfigs)
        index_configs block.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/logging_folder_bucket_config#index_configs LoggingFolderBucketConfig#index_configs}

        Parameters:
        indexConfigs - index_configs block. This parameter is required.
        Returns:
        this
      • retentionDays

        @Stability(Stable)
        public LoggingFolderBucketConfig.Builder retentionDays​(Number retentionDays)
        Logs will be retained by default for this amount of time, after which they will automatically be deleted.

        The minimum retention period is 1 day. If this value is set to zero at bucket creation time, the default time of 30 days will be used. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/logging_folder_bucket_config#retention_days LoggingFolderBucketConfig#retention_days}

        Parameters:
        retentionDays - Logs will be retained by default for this amount of time, after which they will automatically be deleted. This parameter is required.
        Returns:
        this