Class ProjectAccessApprovalSettingsConfig.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.project_access_approval_settings.ProjectAccessApprovalSettingsConfig.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<ProjectAccessApprovalSettingsConfig>
- Enclosing interface:
- ProjectAccessApprovalSettingsConfig
@Stability(Stable) public static final class ProjectAccessApprovalSettingsConfig.Builder extends Object implements software.amazon.jsii.Builder<ProjectAccessApprovalSettingsConfig>
A builder forProjectAccessApprovalSettingsConfig
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
enrolledServices
@Stability(Stable) public ProjectAccessApprovalSettingsConfig.Builder enrolledServices(com.hashicorp.cdktf.IResolvable enrolledServices)
Sets the value ofProjectAccessApprovalSettingsConfig.getEnrolledServices()- 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
-
enrolledServices
@Stability(Stable) public ProjectAccessApprovalSettingsConfig.Builder enrolledServices(List<? extends ProjectAccessApprovalSettingsEnrolledServices> enrolledServices)
Sets the value ofProjectAccessApprovalSettingsConfig.getEnrolledServices()- 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)
Sets the value ofProjectAccessApprovalSettingsConfig.getProjectId()- 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)
Sets the value ofProjectAccessApprovalSettingsConfig.getActiveKeyVersion()- 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)
Sets the value ofProjectAccessApprovalSettingsConfig.getId()- 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)
Sets the value ofProjectAccessApprovalSettingsConfig.getNotificationEmails()- 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
-
project
@Stability(Stable) public ProjectAccessApprovalSettingsConfig.Builder project(String project)
Sets the value ofProjectAccessApprovalSettingsConfig.getProject()- Parameters:
project- Project id. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/project_access_approval_settings#project ProjectAccessApprovalSettings#project}- Returns:
this
-
timeouts
@Stability(Stable) public ProjectAccessApprovalSettingsConfig.Builder timeouts(ProjectAccessApprovalSettingsTimeouts timeouts)
Sets the value ofProjectAccessApprovalSettingsConfig.getTimeouts()- Parameters:
timeouts- timeouts block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/project_access_approval_settings#timeouts ProjectAccessApprovalSettings#timeouts}- Returns:
this
-
connection
@Stability(Experimental) public ProjectAccessApprovalSettingsConfig.Builder connection(com.hashicorp.cdktf.SSHProvisionerConnection connection)
Sets the value ofTerraformMetaArguments.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 ofTerraformMetaArguments.getConnection()- Parameters:
connection- the value to be set.- Returns:
this
-
count
@Stability(Experimental) public ProjectAccessApprovalSettingsConfig.Builder count(Number count)
Sets the value ofTerraformMetaArguments.getCount()- Parameters:
count- the value to be set.- Returns:
this
-
count
@Stability(Experimental) public ProjectAccessApprovalSettingsConfig.Builder count(com.hashicorp.cdktf.TerraformCount count)
Sets the value ofTerraformMetaArguments.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 ofTerraformMetaArguments.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 ofTerraformMetaArguments.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 ofTerraformMetaArguments.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 ofTerraformMetaArguments.getProvider()- Parameters:
provider- the value to be set.- Returns:
this
-
provisioners
@Stability(Experimental) public ProjectAccessApprovalSettingsConfig.Builder provisioners(List<? extends Object> provisioners)
Sets the value ofTerraformMetaArguments.getProvisioners()- Parameters:
provisioners- the value to be set.- Returns:
this
-
build
@Stability(Stable) public ProjectAccessApprovalSettingsConfig build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<ProjectAccessApprovalSettingsConfig>- Returns:
- a new instance of
ProjectAccessApprovalSettingsConfig - Throws:
NullPointerException- if any required attribute was not provided
-
-