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

com.pulumi.aws.appmesh.inputs.VirtualServiceSpecProviderVirtualNodeArgs 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.aws.appmesh.inputs;

import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;


public final class VirtualServiceSpecProviderVirtualNodeArgs extends com.pulumi.resources.ResourceArgs {

    public static final VirtualServiceSpecProviderVirtualNodeArgs Empty = new VirtualServiceSpecProviderVirtualNodeArgs();

    /**
     * Name of the virtual node that is acting as a service provider. Must be between 1 and 255 characters in length.
     * 
     */
    @Import(name="virtualNodeName", required=true)
    private Output virtualNodeName;

    /**
     * @return Name of the virtual node that is acting as a service provider. Must be between 1 and 255 characters in length.
     * 
     */
    public Output virtualNodeName() {
        return this.virtualNodeName;
    }

    private VirtualServiceSpecProviderVirtualNodeArgs() {}

    private VirtualServiceSpecProviderVirtualNodeArgs(VirtualServiceSpecProviderVirtualNodeArgs $) {
        this.virtualNodeName = $.virtualNodeName;
    }

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

    public static final class Builder {
        private VirtualServiceSpecProviderVirtualNodeArgs $;

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

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

        /**
         * @param virtualNodeName Name of the virtual node that is acting as a service provider. Must be between 1 and 255 characters in length.
         * 
         * @return builder
         * 
         */
        public Builder virtualNodeName(Output virtualNodeName) {
            $.virtualNodeName = virtualNodeName;
            return this;
        }

        /**
         * @param virtualNodeName Name of the virtual node that is acting as a service provider. Must be between 1 and 255 characters in length.
         * 
         * @return builder
         * 
         */
        public Builder virtualNodeName(String virtualNodeName) {
            return virtualNodeName(Output.of(virtualNodeName));
        }

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

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy