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

com.pulumi.aws.devopsguru.inputs.EventSourcesConfigEventSourceArgs 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.devopsguru.inputs;

import com.pulumi.aws.devopsguru.inputs.EventSourcesConfigEventSourceAmazonCodeGuruProfilerArgs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import java.util.List;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


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

    public static final EventSourcesConfigEventSourceArgs Empty = new EventSourcesConfigEventSourceArgs();

    /**
     * Stores whether DevOps Guru is configured to consume recommendations which are generated from AWS CodeGuru Profiler. See `amazon_code_guru_profiler` below.
     * 
     */
    @Import(name="amazonCodeGuruProfilers")
    private @Nullable Output> amazonCodeGuruProfilers;

    /**
     * @return Stores whether DevOps Guru is configured to consume recommendations which are generated from AWS CodeGuru Profiler. See `amazon_code_guru_profiler` below.
     * 
     */
    public Optional>> amazonCodeGuruProfilers() {
        return Optional.ofNullable(this.amazonCodeGuruProfilers);
    }

    private EventSourcesConfigEventSourceArgs() {}

    private EventSourcesConfigEventSourceArgs(EventSourcesConfigEventSourceArgs $) {
        this.amazonCodeGuruProfilers = $.amazonCodeGuruProfilers;
    }

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

    public static final class Builder {
        private EventSourcesConfigEventSourceArgs $;

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

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

        /**
         * @param amazonCodeGuruProfilers Stores whether DevOps Guru is configured to consume recommendations which are generated from AWS CodeGuru Profiler. See `amazon_code_guru_profiler` below.
         * 
         * @return builder
         * 
         */
        public Builder amazonCodeGuruProfilers(@Nullable Output> amazonCodeGuruProfilers) {
            $.amazonCodeGuruProfilers = amazonCodeGuruProfilers;
            return this;
        }

        /**
         * @param amazonCodeGuruProfilers Stores whether DevOps Guru is configured to consume recommendations which are generated from AWS CodeGuru Profiler. See `amazon_code_guru_profiler` below.
         * 
         * @return builder
         * 
         */
        public Builder amazonCodeGuruProfilers(List amazonCodeGuruProfilers) {
            return amazonCodeGuruProfilers(Output.of(amazonCodeGuruProfilers));
        }

        /**
         * @param amazonCodeGuruProfilers Stores whether DevOps Guru is configured to consume recommendations which are generated from AWS CodeGuru Profiler. See `amazon_code_guru_profiler` below.
         * 
         * @return builder
         * 
         */
        public Builder amazonCodeGuruProfilers(EventSourcesConfigEventSourceAmazonCodeGuruProfilerArgs... amazonCodeGuruProfilers) {
            return amazonCodeGuruProfilers(List.of(amazonCodeGuruProfilers));
        }

        public EventSourcesConfigEventSourceArgs build() {
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy