Class BillingAccountBucketConfigState.Builder

    • Method Detail

      • billingAccount

        public BillingAccountBucketConfigState.Builder billingAccount​(@Nullable
                                                                      com.pulumi.core.Output<java.lang.String> billingAccount)
        Parameters:
        billingAccount - The parent resource that contains the logging bucket.
        Returns:
        builder
      • billingAccount

        public BillingAccountBucketConfigState.Builder billingAccount​(java.lang.String billingAccount)
        Parameters:
        billingAccount - The parent resource that contains the logging bucket.
        Returns:
        builder
      • bucketId

        public BillingAccountBucketConfigState.Builder bucketId​(@Nullable
                                                                com.pulumi.core.Output<java.lang.String> bucketId)
        Parameters:
        bucketId - The name of the logging bucket. Logging automatically creates two log buckets: `_Required` and `_Default`.
        Returns:
        builder
      • bucketId

        public BillingAccountBucketConfigState.Builder bucketId​(java.lang.String bucketId)
        Parameters:
        bucketId - The name of the logging bucket. Logging automatically creates two log buckets: `_Required` and `_Default`.
        Returns:
        builder
      • cmekSettings

        public BillingAccountBucketConfigState.Builder cmekSettings​(@Nullable
                                                                    com.pulumi.core.Output<BillingAccountBucketConfigCmekSettingsArgs> cmekSettings)
        Parameters:
        cmekSettings - The CMEK settings of the log bucket. If present, new log entries written to this log bucket are encrypted using the CMEK key provided in this configuration. If a log bucket has CMEK settings, the CMEK settings cannot be disabled later by updating the log bucket. Changing the KMS key is allowed.
        Returns:
        builder
      • cmekSettings

        public BillingAccountBucketConfigState.Builder cmekSettings​(BillingAccountBucketConfigCmekSettingsArgs cmekSettings)
        Parameters:
        cmekSettings - The CMEK settings of the log bucket. If present, new log entries written to this log bucket are encrypted using the CMEK key provided in this configuration. If a log bucket has CMEK settings, the CMEK settings cannot be disabled later by updating the log bucket. Changing the KMS key is allowed.
        Returns:
        builder
      • description

        public BillingAccountBucketConfigState.Builder description​(@Nullable
                                                                   com.pulumi.core.Output<java.lang.String> description)
        Parameters:
        description - Describes this bucket.
        Returns:
        builder
      • lifecycleState

        public BillingAccountBucketConfigState.Builder lifecycleState​(@Nullable
                                                                      com.pulumi.core.Output<java.lang.String> lifecycleState)
        Parameters:
        lifecycleState - The bucket's lifecycle such as active or deleted. See [LifecycleState](https://cloud.google.com/logging/docs/reference/v2/rest/v2/billingAccounts.buckets#LogBucket.LifecycleState).
        Returns:
        builder
      • lifecycleState

        public BillingAccountBucketConfigState.Builder lifecycleState​(java.lang.String lifecycleState)
        Parameters:
        lifecycleState - The bucket's lifecycle such as active or deleted. See [LifecycleState](https://cloud.google.com/logging/docs/reference/v2/rest/v2/billingAccounts.buckets#LogBucket.LifecycleState).
        Returns:
        builder
      • location

        public BillingAccountBucketConfigState.Builder location​(@Nullable
                                                                com.pulumi.core.Output<java.lang.String> location)
        Parameters:
        location - The location of the bucket.
        Returns:
        builder
      • name

        public BillingAccountBucketConfigState.Builder name​(@Nullable
                                                            com.pulumi.core.Output<java.lang.String> name)
        Parameters:
        name - The resource name of the bucket. For example: "projects/my-project-id/locations/my-location/buckets/my-bucket-id"
        Returns:
        builder
      • name

        public BillingAccountBucketConfigState.Builder name​(java.lang.String name)
        Parameters:
        name - The resource name of the bucket. For example: "projects/my-project-id/locations/my-location/buckets/my-bucket-id"
        Returns:
        builder
      • retentionDays

        public BillingAccountBucketConfigState.Builder retentionDays​(@Nullable
                                                                     com.pulumi.core.Output<java.lang.Integer> retentionDays)
        Parameters:
        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. Bucket retention can not be increased on buckets outside of projects.
        Returns:
        builder
      • retentionDays

        public BillingAccountBucketConfigState.Builder retentionDays​(java.lang.Integer retentionDays)
        Parameters:
        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. Bucket retention can not be increased on buckets outside of projects.
        Returns:
        builder