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

com.pulumi.azurenative.notificationhubs.inputs.XiaomiCredentialPropertiesArgs 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.core.Output;
import com.pulumi.core.annotations.Import;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


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

    public static final XiaomiCredentialPropertiesArgs Empty = new XiaomiCredentialPropertiesArgs();

    /**
     * Gets or sets app secret.
     * 
     */
    @Import(name="appSecret")
    private @Nullable Output appSecret;

    /**
     * @return Gets or sets app secret.
     * 
     */
    public Optional> appSecret() {
        return Optional.ofNullable(this.appSecret);
    }

    /**
     * Gets or sets xiaomi service endpoint.
     * 
     */
    @Import(name="endpoint")
    private @Nullable Output endpoint;

    /**
     * @return Gets or sets xiaomi service endpoint.
     * 
     */
    public Optional> endpoint() {
        return Optional.ofNullable(this.endpoint);
    }

    private XiaomiCredentialPropertiesArgs() {}

    private XiaomiCredentialPropertiesArgs(XiaomiCredentialPropertiesArgs $) {
        this.appSecret = $.appSecret;
        this.endpoint = $.endpoint;
    }

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

    public static final class Builder {
        private XiaomiCredentialPropertiesArgs $;

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

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

        /**
         * @param appSecret Gets or sets app secret.
         * 
         * @return builder
         * 
         */
        public Builder appSecret(@Nullable Output appSecret) {
            $.appSecret = appSecret;
            return this;
        }

        /**
         * @param appSecret Gets or sets app secret.
         * 
         * @return builder
         * 
         */
        public Builder appSecret(String appSecret) {
            return appSecret(Output.of(appSecret));
        }

        /**
         * @param endpoint Gets or sets xiaomi service endpoint.
         * 
         * @return builder
         * 
         */
        public Builder endpoint(@Nullable Output endpoint) {
            $.endpoint = endpoint;
            return this;
        }

        /**
         * @param endpoint Gets or sets xiaomi service endpoint.
         * 
         * @return builder
         * 
         */
        public Builder endpoint(String endpoint) {
            return endpoint(Output.of(endpoint));
        }

        public XiaomiCredentialPropertiesArgs build() {
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy