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

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

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

import com.pulumi.azurenative.notificationhubs.inputs.GcmCredentialPropertiesArgs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.util.Objects;


/**
 * Description of a NotificationHub GcmCredential.
 * 
 */
public final class GcmCredentialArgs extends com.pulumi.resources.ResourceArgs {

    public static final GcmCredentialArgs Empty = new GcmCredentialArgs();

    /**
     * Description of a NotificationHub GcmCredential.
     * 
     */
    @Import(name="properties", required=true)
    private Output properties;

    /**
     * @return Description of a NotificationHub GcmCredential.
     * 
     */
    public Output properties() {
        return this.properties;
    }

    private GcmCredentialArgs() {}

    private GcmCredentialArgs(GcmCredentialArgs $) {
        this.properties = $.properties;
    }

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

    public static final class Builder {
        private GcmCredentialArgs $;

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

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

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

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

        public GcmCredentialArgs build() {
            if ($.properties == null) {
                throw new MissingRequiredPropertyException("GcmCredentialArgs", "properties");
            }
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy