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

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

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


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

    public static final NotificationChannelState Empty = new NotificationChannelState();

    /**
     * Filter configurations for the Amazon SNS notification topic. See the `filters` argument reference below.
     * 
     */
    @Import(name="filters")
    private @Nullable Output filters;

    /**
     * @return Filter configurations for the Amazon SNS notification topic. See the `filters` argument reference below.
     * 
     */
    public Optional> filters() {
        return Optional.ofNullable(this.filters);
    }

    /**
     * SNS noficiation channel configurations. See the `sns` argument reference below.
     * 
     * The following arguments are optional:
     * 
     */
    @Import(name="sns")
    private @Nullable Output sns;

    /**
     * @return SNS noficiation channel configurations. See the `sns` argument reference below.
     * 
     * The following arguments are optional:
     * 
     */
    public Optional> sns() {
        return Optional.ofNullable(this.sns);
    }

    private NotificationChannelState() {}

    private NotificationChannelState(NotificationChannelState $) {
        this.filters = $.filters;
        this.sns = $.sns;
    }

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

    public static final class Builder {
        private NotificationChannelState $;

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

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

        /**
         * @param filters Filter configurations for the Amazon SNS notification topic. See the `filters` argument reference below.
         * 
         * @return builder
         * 
         */
        public Builder filters(@Nullable Output filters) {
            $.filters = filters;
            return this;
        }

        /**
         * @param filters Filter configurations for the Amazon SNS notification topic. See the `filters` argument reference below.
         * 
         * @return builder
         * 
         */
        public Builder filters(NotificationChannelFiltersArgs filters) {
            return filters(Output.of(filters));
        }

        /**
         * @param sns SNS noficiation channel configurations. See the `sns` argument reference below.
         * 
         * The following arguments are optional:
         * 
         * @return builder
         * 
         */
        public Builder sns(@Nullable Output sns) {
            $.sns = sns;
            return this;
        }

        /**
         * @param sns SNS noficiation channel configurations. See the `sns` argument reference below.
         * 
         * The following arguments are optional:
         * 
         * @return builder
         * 
         */
        public Builder sns(NotificationChannelSnsArgs sns) {
            return sns(Output.of(sns));
        }

        public NotificationChannelState build() {
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy