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

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

// *** 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 java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


/**
 * The WSDL definition
 * 
 */
public final class WsdlDefinitionArgs extends com.pulumi.resources.ResourceArgs {

    public static final WsdlDefinitionArgs Empty = new WsdlDefinitionArgs();

    /**
     * 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 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);
    }

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

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

    private WsdlDefinitionArgs() {}

    private WsdlDefinitionArgs(WsdlDefinitionArgs $) {
        this.content = $.content;
        this.importMethod = $.importMethod;
        this.service = $.service;
        this.url = $.url;
    }

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

    public static final class Builder {
        private WsdlDefinitionArgs $;

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

        public Builder(WsdlDefinitionArgs defaults) {
            $ = new WsdlDefinitionArgs(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 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 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 WsdlDefinitionArgs build() {
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy