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

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

Go to download

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

There is a newer version: 6.60.0-alpha.1731982519
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.aws.appmesh.inputs;

import com.pulumi.aws.appmesh.inputs.VirtualNodeSpecServiceDiscoveryAwsCloudMapArgs;
import com.pulumi.aws.appmesh.inputs.VirtualNodeSpecServiceDiscoveryDnsArgs;
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 VirtualNodeSpecServiceDiscoveryArgs extends com.pulumi.resources.ResourceArgs {

    public static final VirtualNodeSpecServiceDiscoveryArgs Empty = new VirtualNodeSpecServiceDiscoveryArgs();

    /**
     * Any AWS Cloud Map information for the virtual node.
     * 
     */
    @Import(name="awsCloudMap")
    private @Nullable Output awsCloudMap;

    /**
     * @return Any AWS Cloud Map information for the virtual node.
     * 
     */
    public Optional> awsCloudMap() {
        return Optional.ofNullable(this.awsCloudMap);
    }

    /**
     * DNS service name for the virtual node.
     * 
     */
    @Import(name="dns")
    private @Nullable Output dns;

    /**
     * @return DNS service name for the virtual node.
     * 
     */
    public Optional> dns() {
        return Optional.ofNullable(this.dns);
    }

    private VirtualNodeSpecServiceDiscoveryArgs() {}

    private VirtualNodeSpecServiceDiscoveryArgs(VirtualNodeSpecServiceDiscoveryArgs $) {
        this.awsCloudMap = $.awsCloudMap;
        this.dns = $.dns;
    }

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

    public static final class Builder {
        private VirtualNodeSpecServiceDiscoveryArgs $;

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

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

        /**
         * @param awsCloudMap Any AWS Cloud Map information for the virtual node.
         * 
         * @return builder
         * 
         */
        public Builder awsCloudMap(@Nullable Output awsCloudMap) {
            $.awsCloudMap = awsCloudMap;
            return this;
        }

        /**
         * @param awsCloudMap Any AWS Cloud Map information for the virtual node.
         * 
         * @return builder
         * 
         */
        public Builder awsCloudMap(VirtualNodeSpecServiceDiscoveryAwsCloudMapArgs awsCloudMap) {
            return awsCloudMap(Output.of(awsCloudMap));
        }

        /**
         * @param dns DNS service name for the virtual node.
         * 
         * @return builder
         * 
         */
        public Builder dns(@Nullable Output dns) {
            $.dns = dns;
            return this;
        }

        /**
         * @param dns DNS service name for the virtual node.
         * 
         * @return builder
         * 
         */
        public Builder dns(VirtualNodeSpecServiceDiscoveryDnsArgs dns) {
            return dns(Output.of(dns));
        }

        public VirtualNodeSpecServiceDiscoveryArgs build() {
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy