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

com.pulumi.spotinst.aws.outputs.ElastigroupLoggingExport Maven / Gradle / Ivy

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.spotinst.aws.outputs;

import com.pulumi.core.annotations.CustomType;
import com.pulumi.spotinst.aws.outputs.ElastigroupLoggingExportS3;
import java.util.List;
import java.util.Objects;
import javax.annotation.Nullable;

@CustomType
public final class ElastigroupLoggingExport {
    /**
     * @return Exports your cluster's logs to the S3 bucket and subdir configured on the S3 data integration given.
     * 
     */
    private @Nullable List s3s;

    private ElastigroupLoggingExport() {}
    /**
     * @return Exports your cluster's logs to the S3 bucket and subdir configured on the S3 data integration given.
     * 
     */
    public List s3s() {
        return this.s3s == null ? List.of() : this.s3s;
    }

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

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

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

            this.s3s = s3s;
            return this;
        }
        public Builder s3s(ElastigroupLoggingExportS3... s3s) {
            return s3s(List.of(s3s));
        }
        public ElastigroupLoggingExport build() {
            final var _resultValue = new ElastigroupLoggingExport();
            _resultValue.s3s = s3s;
            return _resultValue;
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy