All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.aws.cloudwatch.inputs.GetLogDataProtectionPolicyDocumentStatementOperation Maven / Gradle / Ivy

// *** WARNING: this file was generated by pulumi-java-gen. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***

package com.pulumi.aws.cloudwatch.inputs;

import com.pulumi.aws.cloudwatch.inputs.GetLogDataProtectionPolicyDocumentStatementOperationAudit;
import com.pulumi.aws.cloudwatch.inputs.GetLogDataProtectionPolicyDocumentStatementOperationDeidentify;
import com.pulumi.core.annotations.Import;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


public final class GetLogDataProtectionPolicyDocumentStatementOperation extends com.pulumi.resources.InvokeArgs {

    public static final GetLogDataProtectionPolicyDocumentStatementOperation Empty = new GetLogDataProtectionPolicyDocumentStatementOperation();

    /**
     * Configures the detection of sensitive data.
     * 
     */
    @Import(name="audit")
    private @Nullable GetLogDataProtectionPolicyDocumentStatementOperationAudit audit;

    /**
     * @return Configures the detection of sensitive data.
     * 
     */
    public Optional audit() {
        return Optional.ofNullable(this.audit);
    }

    /**
     * Configures the masking of sensitive data.
     * 
     * > Every policy statement must specify exactly one operation.
     * 
     */
    @Import(name="deidentify")
    private @Nullable GetLogDataProtectionPolicyDocumentStatementOperationDeidentify deidentify;

    /**
     * @return Configures the masking of sensitive data.
     * 
     * > Every policy statement must specify exactly one operation.
     * 
     */
    public Optional deidentify() {
        return Optional.ofNullable(this.deidentify);
    }

    private GetLogDataProtectionPolicyDocumentStatementOperation() {}

    private GetLogDataProtectionPolicyDocumentStatementOperation(GetLogDataProtectionPolicyDocumentStatementOperation $) {
        this.audit = $.audit;
        this.deidentify = $.deidentify;
    }

    public static Builder builder() {
        return new Builder();
    }
    public static Builder builder(GetLogDataProtectionPolicyDocumentStatementOperation defaults) {
        return new Builder(defaults);
    }

    public static final class Builder {
        private GetLogDataProtectionPolicyDocumentStatementOperation $;

        public Builder() {
            $ = new GetLogDataProtectionPolicyDocumentStatementOperation();
        }

        public Builder(GetLogDataProtectionPolicyDocumentStatementOperation defaults) {
            $ = new GetLogDataProtectionPolicyDocumentStatementOperation(Objects.requireNonNull(defaults));
        }

        /**
         * @param audit Configures the detection of sensitive data.
         * 
         * @return builder
         * 
         */
        public Builder audit(@Nullable GetLogDataProtectionPolicyDocumentStatementOperationAudit audit) {
            $.audit = audit;
            return this;
        }

        /**
         * @param deidentify Configures the masking of sensitive data.
         * 
         * > Every policy statement must specify exactly one operation.
         * 
         * @return builder
         * 
         */
        public Builder deidentify(@Nullable GetLogDataProtectionPolicyDocumentStatementOperationDeidentify deidentify) {
            $.deidentify = deidentify;
            return this;
        }

        public GetLogDataProtectionPolicyDocumentStatementOperation build() {
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy