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

com.pulumi.azurenative.awsconnector.inputs.ExecuteCommandLogConfigurationArgs 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.azurenative.awsconnector.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;


/**
 * Definition of ExecuteCommandLogConfiguration
 * 
 */
public final class ExecuteCommandLogConfigurationArgs extends com.pulumi.resources.ResourceArgs {

    public static final ExecuteCommandLogConfigurationArgs Empty = new ExecuteCommandLogConfigurationArgs();

    /**
     * Determines whether to use encryption on the CloudWatch logs. If not specified, encryption will be off.
     * 
     */
    @Import(name="cloudWatchEncryptionEnabled")
    private @Nullable Output cloudWatchEncryptionEnabled;

    /**
     * @return Determines whether to use encryption on the CloudWatch logs. If not specified, encryption will be off.
     * 
     */
    public Optional> cloudWatchEncryptionEnabled() {
        return Optional.ofNullable(this.cloudWatchEncryptionEnabled);
    }

    /**
     * The name of the CloudWatch log group to send logs to.  The CloudWatch log group must already be created.
     * 
     */
    @Import(name="cloudWatchLogGroupName")
    private @Nullable Output cloudWatchLogGroupName;

    /**
     * @return The name of the CloudWatch log group to send logs to.  The CloudWatch log group must already be created.
     * 
     */
    public Optional> cloudWatchLogGroupName() {
        return Optional.ofNullable(this.cloudWatchLogGroupName);
    }

    /**
     * The name of the S3 bucket to send logs to.  The S3 bucket must already be created.
     * 
     */
    @Import(name="s3BucketName")
    private @Nullable Output s3BucketName;

    /**
     * @return The name of the S3 bucket to send logs to.  The S3 bucket must already be created.
     * 
     */
    public Optional> s3BucketName() {
        return Optional.ofNullable(this.s3BucketName);
    }

    /**
     * Determines whether to use encryption on the S3 logs. If not specified, encryption is not used.
     * 
     */
    @Import(name="s3EncryptionEnabled")
    private @Nullable Output s3EncryptionEnabled;

    /**
     * @return Determines whether to use encryption on the S3 logs. If not specified, encryption is not used.
     * 
     */
    public Optional> s3EncryptionEnabled() {
        return Optional.ofNullable(this.s3EncryptionEnabled);
    }

    /**
     * An optional folder in the S3 bucket to place logs in.
     * 
     */
    @Import(name="s3KeyPrefix")
    private @Nullable Output s3KeyPrefix;

    /**
     * @return An optional folder in the S3 bucket to place logs in.
     * 
     */
    public Optional> s3KeyPrefix() {
        return Optional.ofNullable(this.s3KeyPrefix);
    }

    private ExecuteCommandLogConfigurationArgs() {}

    private ExecuteCommandLogConfigurationArgs(ExecuteCommandLogConfigurationArgs $) {
        this.cloudWatchEncryptionEnabled = $.cloudWatchEncryptionEnabled;
        this.cloudWatchLogGroupName = $.cloudWatchLogGroupName;
        this.s3BucketName = $.s3BucketName;
        this.s3EncryptionEnabled = $.s3EncryptionEnabled;
        this.s3KeyPrefix = $.s3KeyPrefix;
    }

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

    public static final class Builder {
        private ExecuteCommandLogConfigurationArgs $;

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

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

        /**
         * @param cloudWatchEncryptionEnabled Determines whether to use encryption on the CloudWatch logs. If not specified, encryption will be off.
         * 
         * @return builder
         * 
         */
        public Builder cloudWatchEncryptionEnabled(@Nullable Output cloudWatchEncryptionEnabled) {
            $.cloudWatchEncryptionEnabled = cloudWatchEncryptionEnabled;
            return this;
        }

        /**
         * @param cloudWatchEncryptionEnabled Determines whether to use encryption on the CloudWatch logs. If not specified, encryption will be off.
         * 
         * @return builder
         * 
         */
        public Builder cloudWatchEncryptionEnabled(Boolean cloudWatchEncryptionEnabled) {
            return cloudWatchEncryptionEnabled(Output.of(cloudWatchEncryptionEnabled));
        }

        /**
         * @param cloudWatchLogGroupName The name of the CloudWatch log group to send logs to.  The CloudWatch log group must already be created.
         * 
         * @return builder
         * 
         */
        public Builder cloudWatchLogGroupName(@Nullable Output cloudWatchLogGroupName) {
            $.cloudWatchLogGroupName = cloudWatchLogGroupName;
            return this;
        }

        /**
         * @param cloudWatchLogGroupName The name of the CloudWatch log group to send logs to.  The CloudWatch log group must already be created.
         * 
         * @return builder
         * 
         */
        public Builder cloudWatchLogGroupName(String cloudWatchLogGroupName) {
            return cloudWatchLogGroupName(Output.of(cloudWatchLogGroupName));
        }

        /**
         * @param s3BucketName The name of the S3 bucket to send logs to.  The S3 bucket must already be created.
         * 
         * @return builder
         * 
         */
        public Builder s3BucketName(@Nullable Output s3BucketName) {
            $.s3BucketName = s3BucketName;
            return this;
        }

        /**
         * @param s3BucketName The name of the S3 bucket to send logs to.  The S3 bucket must already be created.
         * 
         * @return builder
         * 
         */
        public Builder s3BucketName(String s3BucketName) {
            return s3BucketName(Output.of(s3BucketName));
        }

        /**
         * @param s3EncryptionEnabled Determines whether to use encryption on the S3 logs. If not specified, encryption is not used.
         * 
         * @return builder
         * 
         */
        public Builder s3EncryptionEnabled(@Nullable Output s3EncryptionEnabled) {
            $.s3EncryptionEnabled = s3EncryptionEnabled;
            return this;
        }

        /**
         * @param s3EncryptionEnabled Determines whether to use encryption on the S3 logs. If not specified, encryption is not used.
         * 
         * @return builder
         * 
         */
        public Builder s3EncryptionEnabled(Boolean s3EncryptionEnabled) {
            return s3EncryptionEnabled(Output.of(s3EncryptionEnabled));
        }

        /**
         * @param s3KeyPrefix An optional folder in the S3 bucket to place logs in.
         * 
         * @return builder
         * 
         */
        public Builder s3KeyPrefix(@Nullable Output s3KeyPrefix) {
            $.s3KeyPrefix = s3KeyPrefix;
            return this;
        }

        /**
         * @param s3KeyPrefix An optional folder in the S3 bucket to place logs in.
         * 
         * @return builder
         * 
         */
        public Builder s3KeyPrefix(String s3KeyPrefix) {
            return s3KeyPrefix(Output.of(s3KeyPrefix));
        }

        public ExecuteCommandLogConfigurationArgs build() {
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy