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

com.pulumi.aws.verifiedaccess.inputs.InstanceLoggingConfigurationAccessLogsKinesisDataFirehoseArgs 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.verifiedaccess.inputs;

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


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

    public static final InstanceLoggingConfigurationAccessLogsKinesisDataFirehoseArgs Empty = new InstanceLoggingConfigurationAccessLogsKinesisDataFirehoseArgs();

    /**
     * The name of the delivery stream.
     * 
     */
    @Import(name="deliveryStream")
    private @Nullable Output deliveryStream;

    /**
     * @return The name of the delivery stream.
     * 
     */
    public Optional> deliveryStream() {
        return Optional.ofNullable(this.deliveryStream);
    }

    /**
     * Indicates whether logging is enabled.
     * 
     */
    @Import(name="enabled", required=true)
    private Output enabled;

    /**
     * @return Indicates whether logging is enabled.
     * 
     */
    public Output enabled() {
        return this.enabled;
    }

    private InstanceLoggingConfigurationAccessLogsKinesisDataFirehoseArgs() {}

    private InstanceLoggingConfigurationAccessLogsKinesisDataFirehoseArgs(InstanceLoggingConfigurationAccessLogsKinesisDataFirehoseArgs $) {
        this.deliveryStream = $.deliveryStream;
        this.enabled = $.enabled;
    }

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

    public static final class Builder {
        private InstanceLoggingConfigurationAccessLogsKinesisDataFirehoseArgs $;

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

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

        /**
         * @param deliveryStream The name of the delivery stream.
         * 
         * @return builder
         * 
         */
        public Builder deliveryStream(@Nullable Output deliveryStream) {
            $.deliveryStream = deliveryStream;
            return this;
        }

        /**
         * @param deliveryStream The name of the delivery stream.
         * 
         * @return builder
         * 
         */
        public Builder deliveryStream(String deliveryStream) {
            return deliveryStream(Output.of(deliveryStream));
        }

        /**
         * @param enabled Indicates whether logging is enabled.
         * 
         * @return builder
         * 
         */
        public Builder enabled(Output enabled) {
            $.enabled = enabled;
            return this;
        }

        /**
         * @param enabled Indicates whether logging is enabled.
         * 
         * @return builder
         * 
         */
        public Builder enabled(Boolean enabled) {
            return enabled(Output.of(enabled));
        }

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

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy