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

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


/**
 * API Definitions
 * 
 */
public final class ApiResourceDefinitionsArgs extends com.pulumi.resources.ResourceArgs {

    public static final ApiResourceDefinitionsArgs Empty = new ApiResourceDefinitionsArgs();

    /**
     * The modified swagger URL
     * 
     */
    @Import(name="modifiedSwaggerUrl")
    private @Nullable Output modifiedSwaggerUrl;

    /**
     * @return The modified swagger URL
     * 
     */
    public Optional> modifiedSwaggerUrl() {
        return Optional.ofNullable(this.modifiedSwaggerUrl);
    }

    /**
     * The original swagger URL
     * 
     */
    @Import(name="originalSwaggerUrl")
    private @Nullable Output originalSwaggerUrl;

    /**
     * @return The original swagger URL
     * 
     */
    public Optional> originalSwaggerUrl() {
        return Optional.ofNullable(this.originalSwaggerUrl);
    }

    private ApiResourceDefinitionsArgs() {}

    private ApiResourceDefinitionsArgs(ApiResourceDefinitionsArgs $) {
        this.modifiedSwaggerUrl = $.modifiedSwaggerUrl;
        this.originalSwaggerUrl = $.originalSwaggerUrl;
    }

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

    public static final class Builder {
        private ApiResourceDefinitionsArgs $;

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

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

        /**
         * @param modifiedSwaggerUrl The modified swagger URL
         * 
         * @return builder
         * 
         */
        public Builder modifiedSwaggerUrl(@Nullable Output modifiedSwaggerUrl) {
            $.modifiedSwaggerUrl = modifiedSwaggerUrl;
            return this;
        }

        /**
         * @param modifiedSwaggerUrl The modified swagger URL
         * 
         * @return builder
         * 
         */
        public Builder modifiedSwaggerUrl(String modifiedSwaggerUrl) {
            return modifiedSwaggerUrl(Output.of(modifiedSwaggerUrl));
        }

        /**
         * @param originalSwaggerUrl The original swagger URL
         * 
         * @return builder
         * 
         */
        public Builder originalSwaggerUrl(@Nullable Output originalSwaggerUrl) {
            $.originalSwaggerUrl = originalSwaggerUrl;
            return this;
        }

        /**
         * @param originalSwaggerUrl The original swagger URL
         * 
         * @return builder
         * 
         */
        public Builder originalSwaggerUrl(String originalSwaggerUrl) {
            return originalSwaggerUrl(Output.of(originalSwaggerUrl));
        }

        public ApiResourceDefinitionsArgs build() {
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy