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

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

Go to download

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

There is a newer version: 6.60.0-alpha.1731982519
Show 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.GetVirtualGatewaySpecLoggingAccessLogFileFormat;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.List;
import java.util.Objects;

@CustomType
public final class GetVirtualGatewaySpecLoggingAccessLogFile {
    private List formats;
    private String path;

    private GetVirtualGatewaySpecLoggingAccessLogFile() {}
    public List formats() {
        return this.formats;
    }
    public String path() {
        return this.path;
    }

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

    public static Builder builder(GetVirtualGatewaySpecLoggingAccessLogFile defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private List formats;
        private String path;
        public Builder() {}
        public Builder(GetVirtualGatewaySpecLoggingAccessLogFile defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.formats = defaults.formats;
    	      this.path = defaults.path;
        }

        @CustomType.Setter
        public Builder formats(List formats) {
            if (formats == null) {
              throw new MissingRequiredPropertyException("GetVirtualGatewaySpecLoggingAccessLogFile", "formats");
            }
            this.formats = formats;
            return this;
        }
        public Builder formats(GetVirtualGatewaySpecLoggingAccessLogFileFormat... formats) {
            return formats(List.of(formats));
        }
        @CustomType.Setter
        public Builder path(String path) {
            if (path == null) {
              throw new MissingRequiredPropertyException("GetVirtualGatewaySpecLoggingAccessLogFile", "path");
            }
            this.path = path;
            return this;
        }
        public GetVirtualGatewaySpecLoggingAccessLogFile build() {
            final var _resultValue = new GetVirtualGatewaySpecLoggingAccessLogFile();
            _resultValue.formats = formats;
            _resultValue.path = path;
            return _resultValue;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy