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

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

import com.pulumi.aws.imagebuilder.outputs.GetInfrastructureConfigurationLoggingS3Log;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.util.List;
import java.util.Objects;

@CustomType
public final class GetInfrastructureConfigurationLogging {
    /**
     * @return Nested list of S3 logs settings.
     * 
     */
    private List s3Logs;

    private GetInfrastructureConfigurationLogging() {}
    /**
     * @return Nested list of S3 logs settings.
     * 
     */
    public List s3Logs() {
        return this.s3Logs;
    }

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

    public static Builder builder(GetInfrastructureConfigurationLogging defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private List s3Logs;
        public Builder() {}
        public Builder(GetInfrastructureConfigurationLogging defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.s3Logs = defaults.s3Logs;
        }

        @CustomType.Setter
        public Builder s3Logs(List s3Logs) {
            if (s3Logs == null) {
              throw new MissingRequiredPropertyException("GetInfrastructureConfigurationLogging", "s3Logs");
            }
            this.s3Logs = s3Logs;
            return this;
        }
        public Builder s3Logs(GetInfrastructureConfigurationLoggingS3Log... s3Logs) {
            return s3Logs(List.of(s3Logs));
        }
        public GetInfrastructureConfigurationLogging build() {
            final var _resultValue = new GetInfrastructureConfigurationLogging();
            _resultValue.s3Logs = s3Logs;
            return _resultValue;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy