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

com.pulumi.aws.globalaccelerator.inputs.AcceleratorAttributesArgs 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.globalaccelerator.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 AcceleratorAttributesArgs extends com.pulumi.resources.ResourceArgs {

    public static final AcceleratorAttributesArgs Empty = new AcceleratorAttributesArgs();

    /**
     * Indicates whether flow logs are enabled. Defaults to `false`. Valid values: `true`, `false`.
     * 
     */
    @Import(name="flowLogsEnabled")
    private @Nullable Output flowLogsEnabled;

    /**
     * @return Indicates whether flow logs are enabled. Defaults to `false`. Valid values: `true`, `false`.
     * 
     */
    public Optional> flowLogsEnabled() {
        return Optional.ofNullable(this.flowLogsEnabled);
    }

    /**
     * The name of the Amazon S3 bucket for the flow logs. Required if `flow_logs_enabled` is `true`.
     * 
     */
    @Import(name="flowLogsS3Bucket")
    private @Nullable Output flowLogsS3Bucket;

    /**
     * @return The name of the Amazon S3 bucket for the flow logs. Required if `flow_logs_enabled` is `true`.
     * 
     */
    public Optional> flowLogsS3Bucket() {
        return Optional.ofNullable(this.flowLogsS3Bucket);
    }

    /**
     * The prefix for the location in the Amazon S3 bucket for the flow logs. Required if `flow_logs_enabled` is `true`.
     * 
     */
    @Import(name="flowLogsS3Prefix")
    private @Nullable Output flowLogsS3Prefix;

    /**
     * @return The prefix for the location in the Amazon S3 bucket for the flow logs. Required if `flow_logs_enabled` is `true`.
     * 
     */
    public Optional> flowLogsS3Prefix() {
        return Optional.ofNullable(this.flowLogsS3Prefix);
    }

    private AcceleratorAttributesArgs() {}

    private AcceleratorAttributesArgs(AcceleratorAttributesArgs $) {
        this.flowLogsEnabled = $.flowLogsEnabled;
        this.flowLogsS3Bucket = $.flowLogsS3Bucket;
        this.flowLogsS3Prefix = $.flowLogsS3Prefix;
    }

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

    public static final class Builder {
        private AcceleratorAttributesArgs $;

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

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

        /**
         * @param flowLogsEnabled Indicates whether flow logs are enabled. Defaults to `false`. Valid values: `true`, `false`.
         * 
         * @return builder
         * 
         */
        public Builder flowLogsEnabled(@Nullable Output flowLogsEnabled) {
            $.flowLogsEnabled = flowLogsEnabled;
            return this;
        }

        /**
         * @param flowLogsEnabled Indicates whether flow logs are enabled. Defaults to `false`. Valid values: `true`, `false`.
         * 
         * @return builder
         * 
         */
        public Builder flowLogsEnabled(Boolean flowLogsEnabled) {
            return flowLogsEnabled(Output.of(flowLogsEnabled));
        }

        /**
         * @param flowLogsS3Bucket The name of the Amazon S3 bucket for the flow logs. Required if `flow_logs_enabled` is `true`.
         * 
         * @return builder
         * 
         */
        public Builder flowLogsS3Bucket(@Nullable Output flowLogsS3Bucket) {
            $.flowLogsS3Bucket = flowLogsS3Bucket;
            return this;
        }

        /**
         * @param flowLogsS3Bucket The name of the Amazon S3 bucket for the flow logs. Required if `flow_logs_enabled` is `true`.
         * 
         * @return builder
         * 
         */
        public Builder flowLogsS3Bucket(String flowLogsS3Bucket) {
            return flowLogsS3Bucket(Output.of(flowLogsS3Bucket));
        }

        /**
         * @param flowLogsS3Prefix The prefix for the location in the Amazon S3 bucket for the flow logs. Required if `flow_logs_enabled` is `true`.
         * 
         * @return builder
         * 
         */
        public Builder flowLogsS3Prefix(@Nullable Output flowLogsS3Prefix) {
            $.flowLogsS3Prefix = flowLogsS3Prefix;
            return this;
        }

        /**
         * @param flowLogsS3Prefix The prefix for the location in the Amazon S3 bucket for the flow logs. Required if `flow_logs_enabled` is `true`.
         * 
         * @return builder
         * 
         */
        public Builder flowLogsS3Prefix(String flowLogsS3Prefix) {
            return flowLogsS3Prefix(Output.of(flowLogsS3Prefix));
        }

        public AcceleratorAttributesArgs build() {
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy