Class FolderAccessApprovalSettingsConfig.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.folder_access_approval_settings.FolderAccessApprovalSettingsConfig.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<FolderAccessApprovalSettingsConfig>
- Enclosing interface:
- FolderAccessApprovalSettingsConfig
@Stability(Stable) public static final class FolderAccessApprovalSettingsConfig.Builder extends Object implements software.amazon.jsii.Builder<FolderAccessApprovalSettingsConfig>
A builder forFolderAccessApprovalSettingsConfig
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
enrolledServices
@Stability(Stable) public FolderAccessApprovalSettingsConfig.Builder enrolledServices(com.hashicorp.cdktf.IResolvable enrolledServices)
Sets the value ofFolderAccessApprovalSettingsConfig.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/folder_access_approval_settings#enrolled_services FolderAccessApprovalSettings#enrolled_services}- Returns:
this
-
enrolledServices
@Stability(Stable) public FolderAccessApprovalSettingsConfig.Builder enrolledServices(List<? extends FolderAccessApprovalSettingsEnrolledServices> enrolledServices)
Sets the value ofFolderAccessApprovalSettingsConfig.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/folder_access_approval_settings#enrolled_services FolderAccessApprovalSettings#enrolled_services}- Returns:
this
-
folderId
@Stability(Stable) public FolderAccessApprovalSettingsConfig.Builder folderId(String folderId)
Sets the value ofFolderAccessApprovalSettingsConfig.getFolderId()- Parameters:
folderId- ID of the folder 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/folder_access_approval_settings#folder_id FolderAccessApprovalSettings#folder_id}- Returns:
this
-
activeKeyVersion
@Stability(Stable) public FolderAccessApprovalSettingsConfig.Builder activeKeyVersion(String activeKeyVersion)
Sets the value ofFolderAccessApprovalSettingsConfig.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/folder_access_approval_settings#active_key_version FolderAccessApprovalSettings#active_key_version}- Returns:
this
-
id
@Stability(Stable) public FolderAccessApprovalSettingsConfig.Builder id(String id)
Sets the value ofFolderAccessApprovalSettingsConfig.getId()- Parameters:
id- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/folder_access_approval_settings#id FolderAccessApprovalSettings#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 FolderAccessApprovalSettingsConfig.Builder notificationEmails(List<String> notificationEmails)
Sets the value ofFolderAccessApprovalSettingsConfig.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/folder_access_approval_settings#notification_emails FolderAccessApprovalSettings#notification_emails}- Returns:
this
-
timeouts
@Stability(Stable) public FolderAccessApprovalSettingsConfig.Builder timeouts(FolderAccessApprovalSettingsTimeouts timeouts)
Sets the value ofFolderAccessApprovalSettingsConfig.getTimeouts()- Parameters:
timeouts- timeouts block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/folder_access_approval_settings#timeouts FolderAccessApprovalSettings#timeouts}- Returns:
this
-
connection
@Stability(Experimental) public FolderAccessApprovalSettingsConfig.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 FolderAccessApprovalSettingsConfig.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 FolderAccessApprovalSettingsConfig.Builder count(Number count)
Sets the value ofTerraformMetaArguments.getCount()- Parameters:
count- the value to be set.- Returns:
this
-
count
@Stability(Experimental) public FolderAccessApprovalSettingsConfig.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 FolderAccessApprovalSettingsConfig.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 FolderAccessApprovalSettingsConfig.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 FolderAccessApprovalSettingsConfig.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 FolderAccessApprovalSettingsConfig.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 FolderAccessApprovalSettingsConfig.Builder provisioners(List<? extends Object> provisioners)
Sets the value ofTerraformMetaArguments.getProvisioners()- Parameters:
provisioners- the value to be set.- Returns:
this
-
build
@Stability(Stable) public FolderAccessApprovalSettingsConfig build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<FolderAccessApprovalSettingsConfig>- Returns:
- a new instance of
FolderAccessApprovalSettingsConfig - Throws:
NullPointerException- if any required attribute was not provided
-
-