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