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

com.pulumi.aws.appmesh.outputs.VirtualNodeSpecLoggingAccessLogFileFormat Maven / Gradle / Ivy

Go to download

A Pulumi package for creating and managing Amazon Web Services (AWS) cloud resources.

The newest version!
// *** 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.outputs;

import com.pulumi.aws.appmesh.outputs.VirtualNodeSpecLoggingAccessLogFileFormatJson;
import com.pulumi.core.annotations.CustomType;
import java.lang.String;
import java.util.List;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;

@CustomType
public final class VirtualNodeSpecLoggingAccessLogFileFormat {
    /**
     * @return The logging format for JSON.
     * 
     */
    private @Nullable List jsons;
    /**
     * @return The logging format for text. Must be between 1 and 1000 characters in length.
     * 
     */
    private @Nullable String text;

    private VirtualNodeSpecLoggingAccessLogFileFormat() {}
    /**
     * @return The logging format for JSON.
     * 
     */
    public List jsons() {
        return this.jsons == null ? List.of() : this.jsons;
    }
    /**
     * @return The logging format for text. Must be between 1 and 1000 characters in length.
     * 
     */
    public Optional text() {
        return Optional.ofNullable(this.text);
    }

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

    public static Builder builder(VirtualNodeSpecLoggingAccessLogFileFormat defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable List jsons;
        private @Nullable String text;
        public Builder() {}
        public Builder(VirtualNodeSpecLoggingAccessLogFileFormat defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.jsons = defaults.jsons;
    	      this.text = defaults.text;
        }

        @CustomType.Setter
        public Builder jsons(@Nullable List jsons) {

            this.jsons = jsons;
            return this;
        }
        public Builder jsons(VirtualNodeSpecLoggingAccessLogFileFormatJson... jsons) {
            return jsons(List.of(jsons));
        }
        @CustomType.Setter
        public Builder text(@Nullable String text) {

            this.text = text;
            return this;
        }
        public VirtualNodeSpecLoggingAccessLogFileFormat build() {
            final var _resultValue = new VirtualNodeSpecLoggingAccessLogFileFormat();
            _resultValue.jsons = jsons;
            _resultValue.text = text;
            return _resultValue;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy