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

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

import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;

@CustomType
public final class IngestionDestinationProcessingConfigurationAuditLog {
    /**
     * @return The format in which the audit logs need to be formatted. Valid values: `json`, `parquet`.
     * 
     */
    private String format;
    /**
     * @return The event schema in which the audit logs need to be formatted. Valid values: `ocsf`, `raw`.
     * 
     */
    private String schema;

    private IngestionDestinationProcessingConfigurationAuditLog() {}
    /**
     * @return The format in which the audit logs need to be formatted. Valid values: `json`, `parquet`.
     * 
     */
    public String format() {
        return this.format;
    }
    /**
     * @return The event schema in which the audit logs need to be formatted. Valid values: `ocsf`, `raw`.
     * 
     */
    public String schema() {
        return this.schema;
    }

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

    public static Builder builder(IngestionDestinationProcessingConfigurationAuditLog defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private String format;
        private String schema;
        public Builder() {}
        public Builder(IngestionDestinationProcessingConfigurationAuditLog defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.format = defaults.format;
    	      this.schema = defaults.schema;
        }

        @CustomType.Setter
        public Builder format(String format) {
            if (format == null) {
              throw new MissingRequiredPropertyException("IngestionDestinationProcessingConfigurationAuditLog", "format");
            }
            this.format = format;
            return this;
        }
        @CustomType.Setter
        public Builder schema(String schema) {
            if (schema == null) {
              throw new MissingRequiredPropertyException("IngestionDestinationProcessingConfigurationAuditLog", "schema");
            }
            this.schema = schema;
            return this;
        }
        public IngestionDestinationProcessingConfigurationAuditLog build() {
            final var _resultValue = new IngestionDestinationProcessingConfigurationAuditLog();
            _resultValue.format = format;
            _resultValue.schema = schema;
            return _resultValue;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy