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

com.pulumi.azure.appservice.inputs.AppServiceSiteCredentialArgs Maven / Gradle / Ivy

Go to download

A Pulumi package for creating and managing Microsoft Azure cloud resources, based on the Terraform azurerm provider. We recommend using the [Azure Native provider](https://github.com/pulumi/pulumi-azure-native) to provision Azure infrastructure. Azure Native provides complete coverage of Azure resources and same-day access to new resources and resource updates.

There is a newer version: 6.10.0-alpha.1731737215
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.azure.appservice.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;


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

    public static final AppServiceSiteCredentialArgs Empty = new AppServiceSiteCredentialArgs();

    /**
     * The password associated with the username, which can be used to publish to this App Service.
     * 
     */
    @Import(name="password")
    private @Nullable Output password;

    /**
     * @return The password associated with the username, which can be used to publish to this App Service.
     * 
     */
    public Optional> password() {
        return Optional.ofNullable(this.password);
    }

    /**
     * The username which can be used to publish to this App Service
     * 
     */
    @Import(name="username")
    private @Nullable Output username;

    /**
     * @return The username which can be used to publish to this App Service
     * 
     */
    public Optional> username() {
        return Optional.ofNullable(this.username);
    }

    private AppServiceSiteCredentialArgs() {}

    private AppServiceSiteCredentialArgs(AppServiceSiteCredentialArgs $) {
        this.password = $.password;
        this.username = $.username;
    }

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

    public static final class Builder {
        private AppServiceSiteCredentialArgs $;

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

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

        /**
         * @param password The password associated with the username, which can be used to publish to this App Service.
         * 
         * @return builder
         * 
         */
        public Builder password(@Nullable Output password) {
            $.password = password;
            return this;
        }

        /**
         * @param password The password associated with the username, which can be used to publish to this App Service.
         * 
         * @return builder
         * 
         */
        public Builder password(String password) {
            return password(Output.of(password));
        }

        /**
         * @param username The username which can be used to publish to this App Service
         * 
         * @return builder
         * 
         */
        public Builder username(@Nullable Output username) {
            $.username = username;
            return this;
        }

        /**
         * @param username The username which can be used to publish to this App Service
         * 
         * @return builder
         * 
         */
        public Builder username(String username) {
            return username(Output.of(username));
        }

        public AppServiceSiteCredentialArgs build() {
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy