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

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

There is a newer version: 2.72.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 com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.List;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


/**
 * The service with name and endpoint names
 * 
 */
public final class WsdlServiceArgs extends com.pulumi.resources.ResourceArgs {

    public static final WsdlServiceArgs Empty = new WsdlServiceArgs();

    /**
     * List of the endpoints' qualified names
     * 
     */
    @Import(name="endpointQualifiedNames")
    private @Nullable Output> endpointQualifiedNames;

    /**
     * @return List of the endpoints' qualified names
     * 
     */
    public Optional>> endpointQualifiedNames() {
        return Optional.ofNullable(this.endpointQualifiedNames);
    }

    /**
     * The service's qualified name
     * 
     */
    @Import(name="qualifiedName", required=true)
    private Output qualifiedName;

    /**
     * @return The service's qualified name
     * 
     */
    public Output qualifiedName() {
        return this.qualifiedName;
    }

    private WsdlServiceArgs() {}

    private WsdlServiceArgs(WsdlServiceArgs $) {
        this.endpointQualifiedNames = $.endpointQualifiedNames;
        this.qualifiedName = $.qualifiedName;
    }

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

    public static final class Builder {
        private WsdlServiceArgs $;

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

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

        /**
         * @param endpointQualifiedNames List of the endpoints' qualified names
         * 
         * @return builder
         * 
         */
        public Builder endpointQualifiedNames(@Nullable Output> endpointQualifiedNames) {
            $.endpointQualifiedNames = endpointQualifiedNames;
            return this;
        }

        /**
         * @param endpointQualifiedNames List of the endpoints' qualified names
         * 
         * @return builder
         * 
         */
        public Builder endpointQualifiedNames(List endpointQualifiedNames) {
            return endpointQualifiedNames(Output.of(endpointQualifiedNames));
        }

        /**
         * @param endpointQualifiedNames List of the endpoints' qualified names
         * 
         * @return builder
         * 
         */
        public Builder endpointQualifiedNames(String... endpointQualifiedNames) {
            return endpointQualifiedNames(List.of(endpointQualifiedNames));
        }

        /**
         * @param qualifiedName The service's qualified name
         * 
         * @return builder
         * 
         */
        public Builder qualifiedName(Output qualifiedName) {
            $.qualifiedName = qualifiedName;
            return this;
        }

        /**
         * @param qualifiedName The service's qualified name
         * 
         * @return builder
         * 
         */
        public Builder qualifiedName(String qualifiedName) {
            return qualifiedName(Output.of(qualifiedName));
        }

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

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy