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

com.pulumi.aws.emrcontainers.inputs.JobTemplateJobTemplateDataConfigurationOverridesMonitoringConfigurationCloudWatchMonitoringConfigurationArgs 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.emrcontainers.inputs;

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


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

    public static final JobTemplateJobTemplateDataConfigurationOverridesMonitoringConfigurationCloudWatchMonitoringConfigurationArgs Empty = new JobTemplateJobTemplateDataConfigurationOverridesMonitoringConfigurationCloudWatchMonitoringConfigurationArgs();

    /**
     * The name of the log group for log publishing.
     * 
     */
    @Import(name="logGroupName", required=true)
    private Output logGroupName;

    /**
     * @return The name of the log group for log publishing.
     * 
     */
    public Output logGroupName() {
        return this.logGroupName;
    }

    /**
     * The specified name prefix for log streams.
     * 
     */
    @Import(name="logStreamNamePrefix")
    private @Nullable Output logStreamNamePrefix;

    /**
     * @return The specified name prefix for log streams.
     * 
     */
    public Optional> logStreamNamePrefix() {
        return Optional.ofNullable(this.logStreamNamePrefix);
    }

    private JobTemplateJobTemplateDataConfigurationOverridesMonitoringConfigurationCloudWatchMonitoringConfigurationArgs() {}

    private JobTemplateJobTemplateDataConfigurationOverridesMonitoringConfigurationCloudWatchMonitoringConfigurationArgs(JobTemplateJobTemplateDataConfigurationOverridesMonitoringConfigurationCloudWatchMonitoringConfigurationArgs $) {
        this.logGroupName = $.logGroupName;
        this.logStreamNamePrefix = $.logStreamNamePrefix;
    }

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

    public static final class Builder {
        private JobTemplateJobTemplateDataConfigurationOverridesMonitoringConfigurationCloudWatchMonitoringConfigurationArgs $;

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

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

        /**
         * @param logGroupName The name of the log group for log publishing.
         * 
         * @return builder
         * 
         */
        public Builder logGroupName(Output logGroupName) {
            $.logGroupName = logGroupName;
            return this;
        }

        /**
         * @param logGroupName The name of the log group for log publishing.
         * 
         * @return builder
         * 
         */
        public Builder logGroupName(String logGroupName) {
            return logGroupName(Output.of(logGroupName));
        }

        /**
         * @param logStreamNamePrefix The specified name prefix for log streams.
         * 
         * @return builder
         * 
         */
        public Builder logStreamNamePrefix(@Nullable Output logStreamNamePrefix) {
            $.logStreamNamePrefix = logStreamNamePrefix;
            return this;
        }

        /**
         * @param logStreamNamePrefix The specified name prefix for log streams.
         * 
         * @return builder
         * 
         */
        public Builder logStreamNamePrefix(String logStreamNamePrefix) {
            return logStreamNamePrefix(Output.of(logStreamNamePrefix));
        }

        public JobTemplateJobTemplateDataConfigurationOverridesMonitoringConfigurationCloudWatchMonitoringConfigurationArgs build() {
            if ($.logGroupName == null) {
                throw new MissingRequiredPropertyException("JobTemplateJobTemplateDataConfigurationOverridesMonitoringConfigurationCloudWatchMonitoringConfigurationArgs", "logGroupName");
            }
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy