Class ProjectIamAuditConfigAuditLogConfig.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.project_iam_audit_config.ProjectIamAuditConfigAuditLogConfig.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<ProjectIamAuditConfigAuditLogConfig>
- Enclosing interface:
- ProjectIamAuditConfigAuditLogConfig
@Stability(Stable) public static final class ProjectIamAuditConfigAuditLogConfig.Builder extends Object implements software.amazon.jsii.Builder<ProjectIamAuditConfigAuditLogConfig>
A builder forProjectIamAuditConfigAuditLogConfig
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ProjectIamAuditConfigAuditLogConfigbuild()Builds the configured instance.ProjectIamAuditConfigAuditLogConfig.BuilderexemptedMembers(List<String> exemptedMembers)Sets the value ofProjectIamAuditConfigAuditLogConfig.getExemptedMembers()ProjectIamAuditConfigAuditLogConfig.BuilderlogType(String logType)Sets the value ofProjectIamAuditConfigAuditLogConfig.getLogType()
-
-
-
Method Detail
-
logType
@Stability(Stable) public ProjectIamAuditConfigAuditLogConfig.Builder logType(String logType)
Sets the value ofProjectIamAuditConfigAuditLogConfig.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/project_iam_audit_config#log_type ProjectIamAuditConfig#log_type}- Returns:
this
-
exemptedMembers
@Stability(Stable) public ProjectIamAuditConfigAuditLogConfig.Builder exemptedMembers(List<String> exemptedMembers)
Sets the value ofProjectIamAuditConfigAuditLogConfig.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/project_iam_audit_config#exempted_members ProjectIamAuditConfig#exempted_members}- Returns:
this
-
build
@Stability(Stable) public ProjectIamAuditConfigAuditLogConfig build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<ProjectIamAuditConfigAuditLogConfig>- Returns:
- a new instance of
ProjectIamAuditConfigAuditLogConfig - Throws:
NullPointerException- if any required attribute was not provided
-
-