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

com.pulumi.spotinst.spark.inputs.OceanLogCollectionArgs 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.spark.inputs;

import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import java.lang.Boolean;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


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

    public static final OceanLogCollectionArgs Empty = new OceanLogCollectionArgs();

    /**
     * - Enable/Disable collecting driver and executor logs. When enabled, logs are stored by NetApp and can be downloaded from the Spot console web interface. The logs are deleted after 30 days.
     * 
     */
    @Import(name="collectAppLogs")
    private @Nullable Output collectAppLogs;

    /**
     * @return - Enable/Disable collecting driver and executor logs. When enabled, logs are stored by NetApp and can be downloaded from the Spot console web interface. The logs are deleted after 30 days.
     * 
     */
    public Optional> collectAppLogs() {
        return Optional.ofNullable(this.collectAppLogs);
    }

    private OceanLogCollectionArgs() {}

    private OceanLogCollectionArgs(OceanLogCollectionArgs $) {
        this.collectAppLogs = $.collectAppLogs;
    }

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

    public static final class Builder {
        private OceanLogCollectionArgs $;

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

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

        /**
         * @param collectAppLogs - Enable/Disable collecting driver and executor logs. When enabled, logs are stored by NetApp and can be downloaded from the Spot console web interface. The logs are deleted after 30 days.
         * 
         * @return builder
         * 
         */
        public Builder collectAppLogs(@Nullable Output collectAppLogs) {
            $.collectAppLogs = collectAppLogs;
            return this;
        }

        /**
         * @param collectAppLogs - Enable/Disable collecting driver and executor logs. When enabled, logs are stored by NetApp and can be downloaded from the Spot console web interface. The logs are deleted after 30 days.
         * 
         * @return builder
         * 
         */
        public Builder collectAppLogs(Boolean collectAppLogs) {
            return collectAppLogs(Output.of(collectAppLogs));
        }

        public OceanLogCollectionArgs build() {
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy