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

com.pulumi.aws.appmesh.outputs.GetVirtualNodeSpecServiceDiscovery 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.outputs;

import com.pulumi.aws.appmesh.outputs.GetVirtualNodeSpecServiceDiscoveryAwsCloudMap;
import com.pulumi.aws.appmesh.outputs.GetVirtualNodeSpecServiceDiscoveryDn;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.util.List;
import java.util.Objects;

@CustomType
public final class GetVirtualNodeSpecServiceDiscovery {
    private List awsCloudMaps;
    private List dns;

    private GetVirtualNodeSpecServiceDiscovery() {}
    public List awsCloudMaps() {
        return this.awsCloudMaps;
    }
    public List dns() {
        return this.dns;
    }

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

    public static Builder builder(GetVirtualNodeSpecServiceDiscovery defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private List awsCloudMaps;
        private List dns;
        public Builder() {}
        public Builder(GetVirtualNodeSpecServiceDiscovery defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.awsCloudMaps = defaults.awsCloudMaps;
    	      this.dns = defaults.dns;
        }

        @CustomType.Setter
        public Builder awsCloudMaps(List awsCloudMaps) {
            if (awsCloudMaps == null) {
              throw new MissingRequiredPropertyException("GetVirtualNodeSpecServiceDiscovery", "awsCloudMaps");
            }
            this.awsCloudMaps = awsCloudMaps;
            return this;
        }
        public Builder awsCloudMaps(GetVirtualNodeSpecServiceDiscoveryAwsCloudMap... awsCloudMaps) {
            return awsCloudMaps(List.of(awsCloudMaps));
        }
        @CustomType.Setter
        public Builder dns(List dns) {
            if (dns == null) {
              throw new MissingRequiredPropertyException("GetVirtualNodeSpecServiceDiscovery", "dns");
            }
            this.dns = dns;
            return this;
        }
        public Builder dns(GetVirtualNodeSpecServiceDiscoveryDn... dns) {
            return dns(List.of(dns));
        }
        public GetVirtualNodeSpecServiceDiscovery build() {
            final var _resultValue = new GetVirtualNodeSpecServiceDiscovery();
            _resultValue.awsCloudMaps = awsCloudMaps;
            _resultValue.dns = dns;
            return _resultValue;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy