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

com.pulumi.azurenative.azuredatatransfer.outputs.SubscriberResponse 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.outputs;

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

@CustomType
public final class SubscriberResponse {
    /**
     * @return Email of the subscriber
     * 
     */
    private @Nullable String email;
    /**
     * @return Number specifying what notifications to receive
     * 
     */
    private @Nullable Double notifications;

    private SubscriberResponse() {}
    /**
     * @return Email of the subscriber
     * 
     */
    public Optional email() {
        return Optional.ofNullable(this.email);
    }
    /**
     * @return Number specifying what notifications to receive
     * 
     */
    public Optional notifications() {
        return Optional.ofNullable(this.notifications);
    }

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

    public static Builder builder(SubscriberResponse defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable String email;
        private @Nullable Double notifications;
        public Builder() {}
        public Builder(SubscriberResponse defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.email = defaults.email;
    	      this.notifications = defaults.notifications;
        }

        @CustomType.Setter
        public Builder email(@Nullable String email) {

            this.email = email;
            return this;
        }
        @CustomType.Setter
        public Builder notifications(@Nullable Double notifications) {

            this.notifications = notifications;
            return this;
        }
        public SubscriberResponse build() {
            final var _resultValue = new SubscriberResponse();
            _resultValue.email = email;
            _resultValue.notifications = notifications;
            return _resultValue;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy