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

com.pulumi.aws.kinesis.inputs.FirehoseDeliveryStreamHttpEndpointConfigurationS3ConfigurationCloudwatchLoggingOptionsArgs 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.kinesis.inputs;

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


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

    public static final FirehoseDeliveryStreamHttpEndpointConfigurationS3ConfigurationCloudwatchLoggingOptionsArgs Empty = new FirehoseDeliveryStreamHttpEndpointConfigurationS3ConfigurationCloudwatchLoggingOptionsArgs();

    /**
     * Enables or disables the logging. Defaults to `false`.
     * 
     */
    @Import(name="enabled")
    private @Nullable Output enabled;

    /**
     * @return Enables or disables the logging. Defaults to `false`.
     * 
     */
    public Optional> enabled() {
        return Optional.ofNullable(this.enabled);
    }

    /**
     * The CloudWatch group name for logging. This value is required if `enabled` is true.
     * 
     */
    @Import(name="logGroupName")
    private @Nullable Output logGroupName;

    /**
     * @return The CloudWatch group name for logging. This value is required if `enabled` is true.
     * 
     */
    public Optional> logGroupName() {
        return Optional.ofNullable(this.logGroupName);
    }

    /**
     * The CloudWatch log stream name for logging. This value is required if `enabled` is true.
     * 
     */
    @Import(name="logStreamName")
    private @Nullable Output logStreamName;

    /**
     * @return The CloudWatch log stream name for logging. This value is required if `enabled` is true.
     * 
     */
    public Optional> logStreamName() {
        return Optional.ofNullable(this.logStreamName);
    }

    private FirehoseDeliveryStreamHttpEndpointConfigurationS3ConfigurationCloudwatchLoggingOptionsArgs() {}

    private FirehoseDeliveryStreamHttpEndpointConfigurationS3ConfigurationCloudwatchLoggingOptionsArgs(FirehoseDeliveryStreamHttpEndpointConfigurationS3ConfigurationCloudwatchLoggingOptionsArgs $) {
        this.enabled = $.enabled;
        this.logGroupName = $.logGroupName;
        this.logStreamName = $.logStreamName;
    }

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

    public static final class Builder {
        private FirehoseDeliveryStreamHttpEndpointConfigurationS3ConfigurationCloudwatchLoggingOptionsArgs $;

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

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

        /**
         * @param enabled Enables or disables the logging. Defaults to `false`.
         * 
         * @return builder
         * 
         */
        public Builder enabled(@Nullable Output enabled) {
            $.enabled = enabled;
            return this;
        }

        /**
         * @param enabled Enables or disables the logging. Defaults to `false`.
         * 
         * @return builder
         * 
         */
        public Builder enabled(Boolean enabled) {
            return enabled(Output.of(enabled));
        }

        /**
         * @param logGroupName The CloudWatch group name for logging. This value is required if `enabled` is true.
         * 
         * @return builder
         * 
         */
        public Builder logGroupName(@Nullable Output logGroupName) {
            $.logGroupName = logGroupName;
            return this;
        }

        /**
         * @param logGroupName The CloudWatch group name for logging. This value is required if `enabled` is true.
         * 
         * @return builder
         * 
         */
        public Builder logGroupName(String logGroupName) {
            return logGroupName(Output.of(logGroupName));
        }

        /**
         * @param logStreamName The CloudWatch log stream name for logging. This value is required if `enabled` is true.
         * 
         * @return builder
         * 
         */
        public Builder logStreamName(@Nullable Output logStreamName) {
            $.logStreamName = logStreamName;
            return this;
        }

        /**
         * @param logStreamName The CloudWatch log stream name for logging. This value is required if `enabled` is true.
         * 
         * @return builder
         * 
         */
        public Builder logStreamName(String logStreamName) {
            return logStreamName(Output.of(logStreamName));
        }

        public FirehoseDeliveryStreamHttpEndpointConfigurationS3ConfigurationCloudwatchLoggingOptionsArgs build() {
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy