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

com.pulumi.azurenative.azuredatatransfer.inputs.SubscriberArgs Maven / Gradle / Ivy

There is a newer version: 2.82.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.azurenative.azuredatatransfer.inputs;

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


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

    public static final SubscriberArgs Empty = new SubscriberArgs();

    /**
     * Email of the subscriber
     * 
     */
    @Import(name="email")
    private @Nullable Output email;

    /**
     * @return Email of the subscriber
     * 
     */
    public Optional> email() {
        return Optional.ofNullable(this.email);
    }

    /**
     * Number specifying what notifications to receive
     * 
     */
    @Import(name="notifications")
    private @Nullable Output notifications;

    /**
     * @return Number specifying what notifications to receive
     * 
     */
    public Optional> notifications() {
        return Optional.ofNullable(this.notifications);
    }

    private SubscriberArgs() {}

    private SubscriberArgs(SubscriberArgs $) {
        this.email = $.email;
        this.notifications = $.notifications;
    }

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

    public static final class Builder {
        private SubscriberArgs $;

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

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

        /**
         * @param email Email of the subscriber
         * 
         * @return builder
         * 
         */
        public Builder email(@Nullable Output email) {
            $.email = email;
            return this;
        }

        /**
         * @param email Email of the subscriber
         * 
         * @return builder
         * 
         */
        public Builder email(String email) {
            return email(Output.of(email));
        }

        /**
         * @param notifications Number specifying what notifications to receive
         * 
         * @return builder
         * 
         */
        public Builder notifications(@Nullable Output notifications) {
            $.notifications = notifications;
            return this;
        }

        /**
         * @param notifications Number specifying what notifications to receive
         * 
         * @return builder
         * 
         */
        public Builder notifications(Double notifications) {
            return notifications(Output.of(notifications));
        }

        public SubscriberArgs build() {
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy