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

com.pulumi.aws.appmesh.inputs.VirtualServiceSpecProviderArgs Maven / Gradle / Ivy

Go to download

A Pulumi package for creating and managing Amazon Web Services (AWS) cloud resources.

The 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.aws.appmesh.inputs;

import com.pulumi.aws.appmesh.inputs.VirtualServiceSpecProviderVirtualNodeArgs;
import com.pulumi.aws.appmesh.inputs.VirtualServiceSpecProviderVirtualRouterArgs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


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

    public static final VirtualServiceSpecProviderArgs Empty = new VirtualServiceSpecProviderArgs();

    /**
     * Virtual node associated with a virtual service.
     * 
     */
    @Import(name="virtualNode")
    private @Nullable Output virtualNode;

    /**
     * @return Virtual node associated with a virtual service.
     * 
     */
    public Optional> virtualNode() {
        return Optional.ofNullable(this.virtualNode);
    }

    /**
     * Virtual router associated with a virtual service.
     * 
     */
    @Import(name="virtualRouter")
    private @Nullable Output virtualRouter;

    /**
     * @return Virtual router associated with a virtual service.
     * 
     */
    public Optional> virtualRouter() {
        return Optional.ofNullable(this.virtualRouter);
    }

    private VirtualServiceSpecProviderArgs() {}

    private VirtualServiceSpecProviderArgs(VirtualServiceSpecProviderArgs $) {
        this.virtualNode = $.virtualNode;
        this.virtualRouter = $.virtualRouter;
    }

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

    public static final class Builder {
        private VirtualServiceSpecProviderArgs $;

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

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

        /**
         * @param virtualNode Virtual node associated with a virtual service.
         * 
         * @return builder
         * 
         */
        public Builder virtualNode(@Nullable Output virtualNode) {
            $.virtualNode = virtualNode;
            return this;
        }

        /**
         * @param virtualNode Virtual node associated with a virtual service.
         * 
         * @return builder
         * 
         */
        public Builder virtualNode(VirtualServiceSpecProviderVirtualNodeArgs virtualNode) {
            return virtualNode(Output.of(virtualNode));
        }

        /**
         * @param virtualRouter Virtual router associated with a virtual service.
         * 
         * @return builder
         * 
         */
        public Builder virtualRouter(@Nullable Output virtualRouter) {
            $.virtualRouter = virtualRouter;
            return this;
        }

        /**
         * @param virtualRouter Virtual router associated with a virtual service.
         * 
         * @return builder
         * 
         */
        public Builder virtualRouter(VirtualServiceSpecProviderVirtualRouterArgs virtualRouter) {
            return virtualRouter(Output.of(virtualRouter));
        }

        public VirtualServiceSpecProviderArgs build() {
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy