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

com.pulumi.aws.cloudwatch.outputs.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.outputs;

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

@CustomType
public final class GetLogDataProtectionPolicyDocumentStatementOperation {
    /**
     * @return Configures the detection of sensitive data.
     * 
     */
    private @Nullable GetLogDataProtectionPolicyDocumentStatementOperationAudit audit;
    /**
     * @return Configures the masking of sensitive data.
     * 
     * > Every policy statement must specify exactly one operation.
     * 
     */
    private @Nullable GetLogDataProtectionPolicyDocumentStatementOperationDeidentify deidentify;

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

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

    public static Builder builder(GetLogDataProtectionPolicyDocumentStatementOperation defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable GetLogDataProtectionPolicyDocumentStatementOperationAudit audit;
        private @Nullable GetLogDataProtectionPolicyDocumentStatementOperationDeidentify deidentify;
        public Builder() {}
        public Builder(GetLogDataProtectionPolicyDocumentStatementOperation defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.audit = defaults.audit;
    	      this.deidentify = defaults.deidentify;
        }

        @CustomType.Setter
        public Builder audit(@Nullable GetLogDataProtectionPolicyDocumentStatementOperationAudit audit) {

            this.audit = audit;
            return this;
        }
        @CustomType.Setter
        public Builder deidentify(@Nullable GetLogDataProtectionPolicyDocumentStatementOperationDeidentify deidentify) {

            this.deidentify = deidentify;
            return this;
        }
        public GetLogDataProtectionPolicyDocumentStatementOperation build() {
            final var _resultValue = new GetLogDataProtectionPolicyDocumentStatementOperation();
            _resultValue.audit = audit;
            _resultValue.deidentify = deidentify;
            return _resultValue;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy