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

com.pulumi.aws.appmesh.inputs.VirtualGatewaySpecLoggingAccessLogFileFormatArgs 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.appmesh.inputs;

import com.pulumi.aws.appmesh.inputs.VirtualGatewaySpecLoggingAccessLogFileFormatJsonArgs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import java.lang.String;
import java.util.List;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


public final class VirtualGatewaySpecLoggingAccessLogFileFormatArgs extends com.pulumi.resources.ResourceArgs {

    public static final VirtualGatewaySpecLoggingAccessLogFileFormatArgs Empty = new VirtualGatewaySpecLoggingAccessLogFileFormatArgs();

    /**
     * The logging format for JSON.
     * 
     */
    @Import(name="jsons")
    private @Nullable Output> jsons;

    /**
     * @return The logging format for JSON.
     * 
     */
    public Optional>> jsons() {
        return Optional.ofNullable(this.jsons);
    }

    /**
     * The logging format for text. Must be between 1 and 1000 characters in length.
     * 
     */
    @Import(name="text")
    private @Nullable Output text;

    /**
     * @return The logging format for text. Must be between 1 and 1000 characters in length.
     * 
     */
    public Optional> text() {
        return Optional.ofNullable(this.text);
    }

    private VirtualGatewaySpecLoggingAccessLogFileFormatArgs() {}

    private VirtualGatewaySpecLoggingAccessLogFileFormatArgs(VirtualGatewaySpecLoggingAccessLogFileFormatArgs $) {
        this.jsons = $.jsons;
        this.text = $.text;
    }

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

    public static final class Builder {
        private VirtualGatewaySpecLoggingAccessLogFileFormatArgs $;

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

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

        /**
         * @param jsons The logging format for JSON.
         * 
         * @return builder
         * 
         */
        public Builder jsons(@Nullable Output> jsons) {
            $.jsons = jsons;
            return this;
        }

        /**
         * @param jsons The logging format for JSON.
         * 
         * @return builder
         * 
         */
        public Builder jsons(List jsons) {
            return jsons(Output.of(jsons));
        }

        /**
         * @param jsons The logging format for JSON.
         * 
         * @return builder
         * 
         */
        public Builder jsons(VirtualGatewaySpecLoggingAccessLogFileFormatJsonArgs... jsons) {
            return jsons(List.of(jsons));
        }

        /**
         * @param text The logging format for text. Must be between 1 and 1000 characters in length.
         * 
         * @return builder
         * 
         */
        public Builder text(@Nullable Output text) {
            $.text = text;
            return this;
        }

        /**
         * @param text The logging format for text. Must be between 1 and 1000 characters in length.
         * 
         * @return builder
         * 
         */
        public Builder text(String text) {
            return text(Output.of(text));
        }

        public VirtualGatewaySpecLoggingAccessLogFileFormatArgs build() {
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy