Class LoggingOrganizationSettings.Builder

    • Method Detail

      • connection

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

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

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

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

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

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

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

        @Stability(Stable)
        public LoggingOrganizationSettings.Builder organization​(String organization)
        The organization for which to retrieve or configure settings.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/logging_organization_settings#organization LoggingOrganizationSettings#organization}

        Parameters:
        organization - The organization for which to retrieve or configure settings. This parameter is required.
        Returns:
        this
      • disableDefaultSink

        @Stability(Stable)
        public LoggingOrganizationSettings.Builder disableDefaultSink​(Boolean disableDefaultSink)
        If set to true, the _Default sink in newly created projects and folders will created in a disabled state.

        This can be used to automatically disable log storage if there is already an aggregated sink configured in the hierarchy. The _Default sink can be re-enabled manually if needed. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/logging_organization_settings#disable_default_sink LoggingOrganizationSettings#disable_default_sink}

        Parameters:
        disableDefaultSink - If set to true, the _Default sink in newly created projects and folders will created in a disabled state. This parameter is required.
        Returns:
        this
      • disableDefaultSink

        @Stability(Stable)
        public LoggingOrganizationSettings.Builder disableDefaultSink​(com.hashicorp.cdktf.IResolvable disableDefaultSink)
        If set to true, the _Default sink in newly created projects and folders will created in a disabled state.

        This can be used to automatically disable log storage if there is already an aggregated sink configured in the hierarchy. The _Default sink can be re-enabled manually if needed. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/logging_organization_settings#disable_default_sink LoggingOrganizationSettings#disable_default_sink}

        Parameters:
        disableDefaultSink - If set to true, the _Default sink in newly created projects and folders will created in a disabled state. This parameter is required.
        Returns:
        this
      • id

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

        @Stability(Stable)
        public LoggingOrganizationSettings.Builder kmsKeyName​(String kmsKeyName)
        The resource name for the configured Cloud KMS key.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/logging_organization_settings#kms_key_name LoggingOrganizationSettings#kms_key_name}

        Parameters:
        kmsKeyName - The resource name for the configured Cloud KMS key. This parameter is required.
        Returns:
        this
      • storageLocation

        @Stability(Stable)
        public LoggingOrganizationSettings.Builder storageLocation​(String storageLocation)
        The storage location that Cloud Logging will use to create new resources when a location is needed but not explicitly provided.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/logging_organization_settings#storage_location LoggingOrganizationSettings#storage_location}

        Parameters:
        storageLocation - The storage location that Cloud Logging will use to create new resources when a location is needed but not explicitly provided. This parameter is required.
        Returns:
        this
      • timeouts

        @Stability(Stable)
        public LoggingOrganizationSettings.Builder timeouts​(LoggingOrganizationSettingsTimeouts timeouts)
        timeouts block.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/logging_organization_settings#timeouts LoggingOrganizationSettings#timeouts}

        Parameters:
        timeouts - timeouts block. This parameter is required.
        Returns:
        this