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

com.pulumi.azurenative.web.inputs.ListCustomApiWsdlInterfacesArgs 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.azurenative.web.enums.WsdlImportMethod;
import com.pulumi.azurenative.web.inputs.WsdlServiceArgs;
import com.pulumi.core.Either;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


public final class ListCustomApiWsdlInterfacesArgs extends com.pulumi.resources.InvokeArgs {

    public static final ListCustomApiWsdlInterfacesArgs Empty = new ListCustomApiWsdlInterfacesArgs();

    /**
     * The WSDL content
     * 
     */
    @Import(name="content")
    private @Nullable Output content;

    /**
     * @return The WSDL content
     * 
     */
    public Optional> content() {
        return Optional.ofNullable(this.content);
    }

    /**
     * The WSDL import method
     * 
     */
    @Import(name="importMethod")
    private @Nullable Output> importMethod;

    /**
     * @return The WSDL import method
     * 
     */
    public Optional>> importMethod() {
        return Optional.ofNullable(this.importMethod);
    }

    /**
     * The location
     * 
     */
    @Import(name="location", required=true)
    private Output location;

    /**
     * @return The location
     * 
     */
    public Output location() {
        return this.location;
    }

    /**
     * The service with name and endpoint names
     * 
     */
    @Import(name="service")
    private @Nullable Output service;

    /**
     * @return The service with name and endpoint names
     * 
     */
    public Optional> service() {
        return Optional.ofNullable(this.service);
    }

    /**
     * Subscription Id
     * 
     */
    @Import(name="subscriptionId")
    private @Nullable Output subscriptionId;

    /**
     * @return Subscription Id
     * 
     */
    public Optional> subscriptionId() {
        return Optional.ofNullable(this.subscriptionId);
    }

    /**
     * The WSDL URL
     * 
     */
    @Import(name="url")
    private @Nullable Output url;

    /**
     * @return The WSDL URL
     * 
     */
    public Optional> url() {
        return Optional.ofNullable(this.url);
    }

    private ListCustomApiWsdlInterfacesArgs() {}

    private ListCustomApiWsdlInterfacesArgs(ListCustomApiWsdlInterfacesArgs $) {
        this.content = $.content;
        this.importMethod = $.importMethod;
        this.location = $.location;
        this.service = $.service;
        this.subscriptionId = $.subscriptionId;
        this.url = $.url;
    }

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

    public static final class Builder {
        private ListCustomApiWsdlInterfacesArgs $;

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

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

        /**
         * @param content The WSDL content
         * 
         * @return builder
         * 
         */
        public Builder content(@Nullable Output content) {
            $.content = content;
            return this;
        }

        /**
         * @param content The WSDL content
         * 
         * @return builder
         * 
         */
        public Builder content(String content) {
            return content(Output.of(content));
        }

        /**
         * @param importMethod The WSDL import method
         * 
         * @return builder
         * 
         */
        public Builder importMethod(@Nullable Output> importMethod) {
            $.importMethod = importMethod;
            return this;
        }

        /**
         * @param importMethod The WSDL import method
         * 
         * @return builder
         * 
         */
        public Builder importMethod(Either importMethod) {
            return importMethod(Output.of(importMethod));
        }

        /**
         * @param importMethod The WSDL import method
         * 
         * @return builder
         * 
         */
        public Builder importMethod(String importMethod) {
            return importMethod(Either.ofLeft(importMethod));
        }

        /**
         * @param importMethod The WSDL import method
         * 
         * @return builder
         * 
         */
        public Builder importMethod(WsdlImportMethod importMethod) {
            return importMethod(Either.ofRight(importMethod));
        }

        /**
         * @param location The location
         * 
         * @return builder
         * 
         */
        public Builder location(Output location) {
            $.location = location;
            return this;
        }

        /**
         * @param location The location
         * 
         * @return builder
         * 
         */
        public Builder location(String location) {
            return location(Output.of(location));
        }

        /**
         * @param service The service with name and endpoint names
         * 
         * @return builder
         * 
         */
        public Builder service(@Nullable Output service) {
            $.service = service;
            return this;
        }

        /**
         * @param service The service with name and endpoint names
         * 
         * @return builder
         * 
         */
        public Builder service(WsdlServiceArgs service) {
            return service(Output.of(service));
        }

        /**
         * @param subscriptionId Subscription Id
         * 
         * @return builder
         * 
         */
        public Builder subscriptionId(@Nullable Output subscriptionId) {
            $.subscriptionId = subscriptionId;
            return this;
        }

        /**
         * @param subscriptionId Subscription Id
         * 
         * @return builder
         * 
         */
        public Builder subscriptionId(String subscriptionId) {
            return subscriptionId(Output.of(subscriptionId));
        }

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

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

        public ListCustomApiWsdlInterfacesArgs build() {
            if ($.location == null) {
                throw new MissingRequiredPropertyException("ListCustomApiWsdlInterfacesArgs", "location");
            }
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy