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

com.pulumi.azurenative.web.inputs.ApiDefinitionInfoArgs 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.web.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;


/**
 * Information about the formal API definition for the app.
 * 
 */
public final class ApiDefinitionInfoArgs extends com.pulumi.resources.ResourceArgs {

    public static final ApiDefinitionInfoArgs Empty = new ApiDefinitionInfoArgs();

    /**
     * The URL of the API definition.
     * 
     */
    @Import(name="url")
    private @Nullable Output url;

    /**
     * @return The URL of the API definition.
     * 
     */
    public Optional> url() {
        return Optional.ofNullable(this.url);
    }

    private ApiDefinitionInfoArgs() {}

    private ApiDefinitionInfoArgs(ApiDefinitionInfoArgs $) {
        this.url = $.url;
    }

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

    public static final class Builder {
        private ApiDefinitionInfoArgs $;

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

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

        /**
         * @param url The URL of the API definition.
         * 
         * @return builder
         * 
         */
        public Builder url(@Nullable Output url) {
            $.url = url;
            return this;
        }

        /**
         * @param url The URL of the API definition.
         * 
         * @return builder
         * 
         */
        public Builder url(String url) {
            return url(Output.of(url));
        }

        public ApiDefinitionInfoArgs build() {
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy