// *** 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.core.annotations.CustomType;
import java.lang.String;
import java.util.Map;
import java.util.Objects;

@CustomType
public final class GetVirtualNodeSpecServiceDiscoveryAwsCloudMap {
    private Map<String,String> attributes;
    private String namespaceName;
    private String serviceName;

    private GetVirtualNodeSpecServiceDiscoveryAwsCloudMap() {}
    public Map<String,String> attributes() {
        return this.attributes;
    }
    public String namespaceName() {
        return this.namespaceName;
    }
    public String serviceName() {
        return this.serviceName;
    }

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

    public static Builder builder(GetVirtualNodeSpecServiceDiscoveryAwsCloudMap defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private Map<String,String> attributes;
        private String namespaceName;
        private String serviceName;
        public Builder() {}
        public Builder(GetVirtualNodeSpecServiceDiscoveryAwsCloudMap defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.attributes = defaults.attributes;
    	      this.namespaceName = defaults.namespaceName;
    	      this.serviceName = defaults.serviceName;
        }

        @CustomType.Setter
        public Builder attributes(Map<String,String> attributes) {
            this.attributes = Objects.requireNonNull(attributes);
            return this;
        }
        @CustomType.Setter
        public Builder namespaceName(String namespaceName) {
            this.namespaceName = Objects.requireNonNull(namespaceName);
            return this;
        }
        @CustomType.Setter
        public Builder serviceName(String serviceName) {
            this.serviceName = Objects.requireNonNull(serviceName);
            return this;
        }
        public GetVirtualNodeSpecServiceDiscoveryAwsCloudMap build() {
            final var o = new GetVirtualNodeSpecServiceDiscoveryAwsCloudMap();
            o.attributes = attributes;
            o.namespaceName = namespaceName;
            o.serviceName = serviceName;
            return o;
        }
    }
}
