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

com.pulumi.azurenative.notificationhubs.inputs.PnsCredentialsArgs Maven / Gradle / Ivy

There is a newer version: 2.78.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.notificationhubs.inputs;

import com.pulumi.azurenative.notificationhubs.inputs.AdmCredentialArgs;
import com.pulumi.azurenative.notificationhubs.inputs.ApnsCredentialArgs;
import com.pulumi.azurenative.notificationhubs.inputs.BaiduCredentialArgs;
import com.pulumi.azurenative.notificationhubs.inputs.BrowserCredentialArgs;
import com.pulumi.azurenative.notificationhubs.inputs.GcmCredentialArgs;
import com.pulumi.azurenative.notificationhubs.inputs.MpnsCredentialArgs;
import com.pulumi.azurenative.notificationhubs.inputs.WnsCredentialArgs;
import com.pulumi.azurenative.notificationhubs.inputs.XiaomiCredentialArgs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


/**
 * Collection of Notification Hub or Notification Hub Namespace PNS credentials.
 * 
 */
public final class PnsCredentialsArgs extends com.pulumi.resources.ResourceArgs {

    public static final PnsCredentialsArgs Empty = new PnsCredentialsArgs();

    /**
     * Description of a NotificationHub AdmCredential.
     * 
     */
    @Import(name="admCredential")
    private @Nullable Output admCredential;

    /**
     * @return Description of a NotificationHub AdmCredential.
     * 
     */
    public Optional> admCredential() {
        return Optional.ofNullable(this.admCredential);
    }

    /**
     * Description of a NotificationHub ApnsCredential.
     * 
     */
    @Import(name="apnsCredential")
    private @Nullable Output apnsCredential;

    /**
     * @return Description of a NotificationHub ApnsCredential.
     * 
     */
    public Optional> apnsCredential() {
        return Optional.ofNullable(this.apnsCredential);
    }

    /**
     * Description of a NotificationHub BaiduCredential.
     * 
     */
    @Import(name="baiduCredential")
    private @Nullable Output baiduCredential;

    /**
     * @return Description of a NotificationHub BaiduCredential.
     * 
     */
    public Optional> baiduCredential() {
        return Optional.ofNullable(this.baiduCredential);
    }

    /**
     * Description of a NotificationHub BrowserCredential.
     * 
     */
    @Import(name="browserCredential")
    private @Nullable Output browserCredential;

    /**
     * @return Description of a NotificationHub BrowserCredential.
     * 
     */
    public Optional> browserCredential() {
        return Optional.ofNullable(this.browserCredential);
    }

    /**
     * Description of a NotificationHub GcmCredential.
     * 
     */
    @Import(name="gcmCredential")
    private @Nullable Output gcmCredential;

    /**
     * @return Description of a NotificationHub GcmCredential.
     * 
     */
    public Optional> gcmCredential() {
        return Optional.ofNullable(this.gcmCredential);
    }

    /**
     * Description of a NotificationHub MpnsCredential.
     * 
     */
    @Import(name="mpnsCredential")
    private @Nullable Output mpnsCredential;

    /**
     * @return Description of a NotificationHub MpnsCredential.
     * 
     */
    public Optional> mpnsCredential() {
        return Optional.ofNullable(this.mpnsCredential);
    }

    /**
     * Description of a NotificationHub WnsCredential.
     * 
     */
    @Import(name="wnsCredential")
    private @Nullable Output wnsCredential;

    /**
     * @return Description of a NotificationHub WnsCredential.
     * 
     */
    public Optional> wnsCredential() {
        return Optional.ofNullable(this.wnsCredential);
    }

    /**
     * Description of a NotificationHub XiaomiCredential.
     * 
     */
    @Import(name="xiaomiCredential")
    private @Nullable Output xiaomiCredential;

    /**
     * @return Description of a NotificationHub XiaomiCredential.
     * 
     */
    public Optional> xiaomiCredential() {
        return Optional.ofNullable(this.xiaomiCredential);
    }

    private PnsCredentialsArgs() {}

    private PnsCredentialsArgs(PnsCredentialsArgs $) {
        this.admCredential = $.admCredential;
        this.apnsCredential = $.apnsCredential;
        this.baiduCredential = $.baiduCredential;
        this.browserCredential = $.browserCredential;
        this.gcmCredential = $.gcmCredential;
        this.mpnsCredential = $.mpnsCredential;
        this.wnsCredential = $.wnsCredential;
        this.xiaomiCredential = $.xiaomiCredential;
    }

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

    public static final class Builder {
        private PnsCredentialsArgs $;

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

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

        /**
         * @param admCredential Description of a NotificationHub AdmCredential.
         * 
         * @return builder
         * 
         */
        public Builder admCredential(@Nullable Output admCredential) {
            $.admCredential = admCredential;
            return this;
        }

        /**
         * @param admCredential Description of a NotificationHub AdmCredential.
         * 
         * @return builder
         * 
         */
        public Builder admCredential(AdmCredentialArgs admCredential) {
            return admCredential(Output.of(admCredential));
        }

        /**
         * @param apnsCredential Description of a NotificationHub ApnsCredential.
         * 
         * @return builder
         * 
         */
        public Builder apnsCredential(@Nullable Output apnsCredential) {
            $.apnsCredential = apnsCredential;
            return this;
        }

        /**
         * @param apnsCredential Description of a NotificationHub ApnsCredential.
         * 
         * @return builder
         * 
         */
        public Builder apnsCredential(ApnsCredentialArgs apnsCredential) {
            return apnsCredential(Output.of(apnsCredential));
        }

        /**
         * @param baiduCredential Description of a NotificationHub BaiduCredential.
         * 
         * @return builder
         * 
         */
        public Builder baiduCredential(@Nullable Output baiduCredential) {
            $.baiduCredential = baiduCredential;
            return this;
        }

        /**
         * @param baiduCredential Description of a NotificationHub BaiduCredential.
         * 
         * @return builder
         * 
         */
        public Builder baiduCredential(BaiduCredentialArgs baiduCredential) {
            return baiduCredential(Output.of(baiduCredential));
        }

        /**
         * @param browserCredential Description of a NotificationHub BrowserCredential.
         * 
         * @return builder
         * 
         */
        public Builder browserCredential(@Nullable Output browserCredential) {
            $.browserCredential = browserCredential;
            return this;
        }

        /**
         * @param browserCredential Description of a NotificationHub BrowserCredential.
         * 
         * @return builder
         * 
         */
        public Builder browserCredential(BrowserCredentialArgs browserCredential) {
            return browserCredential(Output.of(browserCredential));
        }

        /**
         * @param gcmCredential Description of a NotificationHub GcmCredential.
         * 
         * @return builder
         * 
         */
        public Builder gcmCredential(@Nullable Output gcmCredential) {
            $.gcmCredential = gcmCredential;
            return this;
        }

        /**
         * @param gcmCredential Description of a NotificationHub GcmCredential.
         * 
         * @return builder
         * 
         */
        public Builder gcmCredential(GcmCredentialArgs gcmCredential) {
            return gcmCredential(Output.of(gcmCredential));
        }

        /**
         * @param mpnsCredential Description of a NotificationHub MpnsCredential.
         * 
         * @return builder
         * 
         */
        public Builder mpnsCredential(@Nullable Output mpnsCredential) {
            $.mpnsCredential = mpnsCredential;
            return this;
        }

        /**
         * @param mpnsCredential Description of a NotificationHub MpnsCredential.
         * 
         * @return builder
         * 
         */
        public Builder mpnsCredential(MpnsCredentialArgs mpnsCredential) {
            return mpnsCredential(Output.of(mpnsCredential));
        }

        /**
         * @param wnsCredential Description of a NotificationHub WnsCredential.
         * 
         * @return builder
         * 
         */
        public Builder wnsCredential(@Nullable Output wnsCredential) {
            $.wnsCredential = wnsCredential;
            return this;
        }

        /**
         * @param wnsCredential Description of a NotificationHub WnsCredential.
         * 
         * @return builder
         * 
         */
        public Builder wnsCredential(WnsCredentialArgs wnsCredential) {
            return wnsCredential(Output.of(wnsCredential));
        }

        /**
         * @param xiaomiCredential Description of a NotificationHub XiaomiCredential.
         * 
         * @return builder
         * 
         */
        public Builder xiaomiCredential(@Nullable Output xiaomiCredential) {
            $.xiaomiCredential = xiaomiCredential;
            return this;
        }

        /**
         * @param xiaomiCredential Description of a NotificationHub XiaomiCredential.
         * 
         * @return builder
         * 
         */
        public Builder xiaomiCredential(XiaomiCredentialArgs xiaomiCredential) {
            return xiaomiCredential(Output.of(xiaomiCredential));
        }

        public PnsCredentialsArgs build() {
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy