Class ProjectAccessApprovalSettingsConfig.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • enrolledServices

        @Stability(Stable)
        public ProjectAccessApprovalSettingsConfig.Builder enrolledServices​(com.hashicorp.cdktf.IResolvable enrolledServices)
        Parameters:
        enrolledServices - enrolled_services block. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/project_access_approval_settings#enrolled_services ProjectAccessApprovalSettings#enrolled_services}
        Returns:
        this
      • projectId

        @Stability(Stable)
        public ProjectAccessApprovalSettingsConfig.Builder projectId​(String projectId)
        Parameters:
        projectId - ID of the project of the access approval settings. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/project_access_approval_settings#project_id ProjectAccessApprovalSettings#project_id}
        Returns:
        this
      • activeKeyVersion

        @Stability(Stable)
        public ProjectAccessApprovalSettingsConfig.Builder activeKeyVersion​(String activeKeyVersion)
        Parameters:
        activeKeyVersion - The asymmetric crypto key version to use for signing approval requests. Empty active_key_version indicates that a Google-managed key should be used for signing. This property will be ignored if set by an ancestor of the resource, and new non-empty values may not be set. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/project_access_approval_settings#active_key_version ProjectAccessApprovalSettings#active_key_version}
        Returns:
        this
      • id

        @Stability(Stable)
        public ProjectAccessApprovalSettingsConfig.Builder id​(String id)
        Parameters:
        id - Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/project_access_approval_settings#id ProjectAccessApprovalSettings#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.
        Returns:
        this
      • notificationEmails

        @Stability(Stable)
        public ProjectAccessApprovalSettingsConfig.Builder notificationEmails​(List<String> notificationEmails)
        Parameters:
        notificationEmails - A list of email addresses to which notifications relating to approval requests should be sent. Notifications relating to a resource will be sent to all emails in the settings of ancestor resources of that resource. A maximum of 50 email addresses are allowed. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/project_access_approval_settings#notification_emails ProjectAccessApprovalSettings#notification_emails}
        Returns:
        this
      • connection

        @Stability(Experimental)
        public ProjectAccessApprovalSettingsConfig.Builder connection​(com.hashicorp.cdktf.SSHProvisionerConnection connection)
        Sets the value of TerraformMetaArguments.getConnection()
        Parameters:
        connection - the value to be set.
        Returns:
        this
      • connection

        @Stability(Experimental)
        public ProjectAccessApprovalSettingsConfig.Builder connection​(com.hashicorp.cdktf.WinrmProvisionerConnection connection)
        Sets the value of TerraformMetaArguments.getConnection()
        Parameters:
        connection - the value to be set.
        Returns:
        this
      • count

        @Stability(Experimental)
        public ProjectAccessApprovalSettingsConfig.Builder count​(com.hashicorp.cdktf.TerraformCount count)
        Sets the value of TerraformMetaArguments.getCount()
        Parameters:
        count - the value to be set.
        Returns:
        this
      • dependsOn

        @Stability(Experimental)
        public ProjectAccessApprovalSettingsConfig.Builder dependsOn​(List<? extends com.hashicorp.cdktf.ITerraformDependable> dependsOn)
        Sets the value of TerraformMetaArguments.getDependsOn()
        Parameters:
        dependsOn - the value to be set.
        Returns:
        this
      • forEach

        @Stability(Experimental)
        public ProjectAccessApprovalSettingsConfig.Builder forEach​(com.hashicorp.cdktf.ITerraformIterator forEach)
        Sets the value of TerraformMetaArguments.getForEach()
        Parameters:
        forEach - the value to be set.
        Returns:
        this
      • lifecycle

        @Stability(Experimental)
        public ProjectAccessApprovalSettingsConfig.Builder lifecycle​(com.hashicorp.cdktf.TerraformResourceLifecycle lifecycle)
        Sets the value of TerraformMetaArguments.getLifecycle()
        Parameters:
        lifecycle - the value to be set.
        Returns:
        this
      • provider

        @Stability(Experimental)
        public ProjectAccessApprovalSettingsConfig.Builder provider​(com.hashicorp.cdktf.TerraformProvider provider)
        Sets the value of TerraformMetaArguments.getProvider()
        Parameters:
        provider - the value to be set.
        Returns:
        this
      • provisioners

        @Stability(Experimental)
        public ProjectAccessApprovalSettingsConfig.Builder provisioners​(List<? extends Object> provisioners)
        Sets the value of TerraformMetaArguments.getProvisioners()
        Parameters:
        provisioners - the value to be set.
        Returns:
        this