Class FolderIamAuditConfigAuditLogConfig.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.folder_iam_audit_config.FolderIamAuditConfigAuditLogConfig.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<FolderIamAuditConfigAuditLogConfig>
- Enclosing interface:
- FolderIamAuditConfigAuditLogConfig
@Stability(Stable) public static final class FolderIamAuditConfigAuditLogConfig.Builder extends Object implements software.amazon.jsii.Builder<FolderIamAuditConfigAuditLogConfig>
A builder forFolderIamAuditConfigAuditLogConfig
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FolderIamAuditConfigAuditLogConfigbuild()Builds the configured instance.FolderIamAuditConfigAuditLogConfig.BuilderexemptedMembers(List<String> exemptedMembers)Sets the value ofFolderIamAuditConfigAuditLogConfig.getExemptedMembers()FolderIamAuditConfigAuditLogConfig.BuilderlogType(String logType)Sets the value ofFolderIamAuditConfigAuditLogConfig.getLogType()
-
-
-
Method Detail
-
logType
@Stability(Stable) public FolderIamAuditConfigAuditLogConfig.Builder logType(String logType)
Sets the value ofFolderIamAuditConfigAuditLogConfig.getLogType()- Parameters:
logType- Permission type for which logging is to be configured. Must be one of DATA_READ, DATA_WRITE, or ADMIN_READ. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/folder_iam_audit_config#log_type FolderIamAuditConfig#log_type}- Returns:
this
-
exemptedMembers
@Stability(Stable) public FolderIamAuditConfigAuditLogConfig.Builder exemptedMembers(List<String> exemptedMembers)
Sets the value ofFolderIamAuditConfigAuditLogConfig.getExemptedMembers()- Parameters:
exemptedMembers- Identities that do not cause logging for this type of permission. Each entry can have one of the following values:user:{emailid}: An email address that represents a specific Google account. For example, alice@gmail.com or joe@example.com. serviceAccount:{emailid}: An email address that represents a service account. For example, my-other-app@appspot.gserviceaccount.com. group:{emailid}: An email address that represents a Google group. For example, admins@example.com. domain:{domain}: A G Suite domain (primary, instead of alias) name that represents all the users of that domain. For example, google.com or example.com. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/folder_iam_audit_config#exempted_members FolderIamAuditConfig#exempted_members}- Returns:
this
-
build
@Stability(Stable) public FolderIamAuditConfigAuditLogConfig build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<FolderIamAuditConfigAuditLogConfig>- Returns:
- a new instance of
FolderIamAuditConfigAuditLogConfig - Throws:
NullPointerException- if any required attribute was not provided
-
-