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

com.pulumi.azurenative.web.inputs.StaticSiteTemplateOptionsArgs Maven / Gradle / Ivy

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

import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import java.lang.Boolean;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


/**
 * Template Options for the static site.
 * 
 */
public final class StaticSiteTemplateOptionsArgs extends com.pulumi.resources.ResourceArgs {

    public static final StaticSiteTemplateOptionsArgs Empty = new StaticSiteTemplateOptionsArgs();

    /**
     * Description of the newly generated repository.
     * 
     */
    @Import(name="description")
    private @Nullable Output description;

    /**
     * @return Description of the newly generated repository.
     * 
     */
    public Optional> description() {
        return Optional.ofNullable(this.description);
    }

    /**
     * Whether or not the newly generated repository is a private repository. Defaults to false (i.e. public).
     * 
     */
    @Import(name="isPrivate")
    private @Nullable Output isPrivate;

    /**
     * @return Whether or not the newly generated repository is a private repository. Defaults to false (i.e. public).
     * 
     */
    public Optional> isPrivate() {
        return Optional.ofNullable(this.isPrivate);
    }

    /**
     * Owner of the newly generated repository.
     * 
     */
    @Import(name="owner")
    private @Nullable Output owner;

    /**
     * @return Owner of the newly generated repository.
     * 
     */
    public Optional> owner() {
        return Optional.ofNullable(this.owner);
    }

    /**
     * Name of the newly generated repository.
     * 
     */
    @Import(name="repositoryName")
    private @Nullable Output repositoryName;

    /**
     * @return Name of the newly generated repository.
     * 
     */
    public Optional> repositoryName() {
        return Optional.ofNullable(this.repositoryName);
    }

    /**
     * URL of the template repository. The newly generated repository will be based on this one.
     * 
     */
    @Import(name="templateRepositoryUrl")
    private @Nullable Output templateRepositoryUrl;

    /**
     * @return URL of the template repository. The newly generated repository will be based on this one.
     * 
     */
    public Optional> templateRepositoryUrl() {
        return Optional.ofNullable(this.templateRepositoryUrl);
    }

    private StaticSiteTemplateOptionsArgs() {}

    private StaticSiteTemplateOptionsArgs(StaticSiteTemplateOptionsArgs $) {
        this.description = $.description;
        this.isPrivate = $.isPrivate;
        this.owner = $.owner;
        this.repositoryName = $.repositoryName;
        this.templateRepositoryUrl = $.templateRepositoryUrl;
    }

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

    public static final class Builder {
        private StaticSiteTemplateOptionsArgs $;

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

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

        /**
         * @param description Description of the newly generated repository.
         * 
         * @return builder
         * 
         */
        public Builder description(@Nullable Output description) {
            $.description = description;
            return this;
        }

        /**
         * @param description Description of the newly generated repository.
         * 
         * @return builder
         * 
         */
        public Builder description(String description) {
            return description(Output.of(description));
        }

        /**
         * @param isPrivate Whether or not the newly generated repository is a private repository. Defaults to false (i.e. public).
         * 
         * @return builder
         * 
         */
        public Builder isPrivate(@Nullable Output isPrivate) {
            $.isPrivate = isPrivate;
            return this;
        }

        /**
         * @param isPrivate Whether or not the newly generated repository is a private repository. Defaults to false (i.e. public).
         * 
         * @return builder
         * 
         */
        public Builder isPrivate(Boolean isPrivate) {
            return isPrivate(Output.of(isPrivate));
        }

        /**
         * @param owner Owner of the newly generated repository.
         * 
         * @return builder
         * 
         */
        public Builder owner(@Nullable Output owner) {
            $.owner = owner;
            return this;
        }

        /**
         * @param owner Owner of the newly generated repository.
         * 
         * @return builder
         * 
         */
        public Builder owner(String owner) {
            return owner(Output.of(owner));
        }

        /**
         * @param repositoryName Name of the newly generated repository.
         * 
         * @return builder
         * 
         */
        public Builder repositoryName(@Nullable Output repositoryName) {
            $.repositoryName = repositoryName;
            return this;
        }

        /**
         * @param repositoryName Name of the newly generated repository.
         * 
         * @return builder
         * 
         */
        public Builder repositoryName(String repositoryName) {
            return repositoryName(Output.of(repositoryName));
        }

        /**
         * @param templateRepositoryUrl URL of the template repository. The newly generated repository will be based on this one.
         * 
         * @return builder
         * 
         */
        public Builder templateRepositoryUrl(@Nullable Output templateRepositoryUrl) {
            $.templateRepositoryUrl = templateRepositoryUrl;
            return this;
        }

        /**
         * @param templateRepositoryUrl URL of the template repository. The newly generated repository will be based on this one.
         * 
         * @return builder
         * 
         */
        public Builder templateRepositoryUrl(String templateRepositoryUrl) {
            return templateRepositoryUrl(Output.of(templateRepositoryUrl));
        }

        public StaticSiteTemplateOptionsArgs build() {
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy