// *** 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.azure.healthcare.outputs;

import com.pulumi.azure.healthcare.outputs.GetDicomServiceAuthentication;
import com.pulumi.azure.healthcare.outputs.GetDicomServiceIdentity;
import com.pulumi.azure.healthcare.outputs.GetDicomServicePrivateEndpoint;
import com.pulumi.core.annotations.CustomType;
import java.lang.String;
import java.util.List;
import java.util.Map;
import java.util.Objects;

@CustomType
public final class GetDicomServiceResult {
    /**
     * @return The `authentication` block as defined below.
     * 
     */
    private List<GetDicomServiceAuthentication> authentications;
    /**
     * @return The provider-assigned unique ID for this managed resource.
     * 
     */
    private String id;
    private List<GetDicomServiceIdentity> identities;
    /**
     * @return The Azure Region where the Healthcare DICOM Service is located.
     * 
     */
    private String location;
    private String name;
    private List<GetDicomServicePrivateEndpoint> privateEndpoints;
    /**
     * @return The url of the Healthcare DICOM Services.
     * 
     */
    private String serviceUrl;
    /**
     * @return A map of tags assigned to the Healthcare DICOM Service.
     * 
     */
    private Map<String,String> tags;
    private String workspaceId;

    private GetDicomServiceResult() {}
    /**
     * @return The `authentication` block as defined below.
     * 
     */
    public List<GetDicomServiceAuthentication> authentications() {
        return this.authentications;
    }
    /**
     * @return The provider-assigned unique ID for this managed resource.
     * 
     */
    public String id() {
        return this.id;
    }
    public List<GetDicomServiceIdentity> identities() {
        return this.identities;
    }
    /**
     * @return The Azure Region where the Healthcare DICOM Service is located.
     * 
     */
    public String location() {
        return this.location;
    }
    public String name() {
        return this.name;
    }
    public List<GetDicomServicePrivateEndpoint> privateEndpoints() {
        return this.privateEndpoints;
    }
    /**
     * @return The url of the Healthcare DICOM Services.
     * 
     */
    public String serviceUrl() {
        return this.serviceUrl;
    }
    /**
     * @return A map of tags assigned to the Healthcare DICOM Service.
     * 
     */
    public Map<String,String> tags() {
        return this.tags;
    }
    public String workspaceId() {
        return this.workspaceId;
    }

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

    public static Builder builder(GetDicomServiceResult defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private List<GetDicomServiceAuthentication> authentications;
        private String id;
        private List<GetDicomServiceIdentity> identities;
        private String location;
        private String name;
        private List<GetDicomServicePrivateEndpoint> privateEndpoints;
        private String serviceUrl;
        private Map<String,String> tags;
        private String workspaceId;
        public Builder() {}
        public Builder(GetDicomServiceResult defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.authentications = defaults.authentications;
    	      this.id = defaults.id;
    	      this.identities = defaults.identities;
    	      this.location = defaults.location;
    	      this.name = defaults.name;
    	      this.privateEndpoints = defaults.privateEndpoints;
    	      this.serviceUrl = defaults.serviceUrl;
    	      this.tags = defaults.tags;
    	      this.workspaceId = defaults.workspaceId;
        }

        @CustomType.Setter
        public Builder authentications(List<GetDicomServiceAuthentication> authentications) {
            this.authentications = Objects.requireNonNull(authentications);
            return this;
        }
        public Builder authentications(GetDicomServiceAuthentication... authentications) {
            return authentications(List.of(authentications));
        }
        @CustomType.Setter
        public Builder id(String id) {
            this.id = Objects.requireNonNull(id);
            return this;
        }
        @CustomType.Setter
        public Builder identities(List<GetDicomServiceIdentity> identities) {
            this.identities = Objects.requireNonNull(identities);
            return this;
        }
        public Builder identities(GetDicomServiceIdentity... identities) {
            return identities(List.of(identities));
        }
        @CustomType.Setter
        public Builder location(String location) {
            this.location = Objects.requireNonNull(location);
            return this;
        }
        @CustomType.Setter
        public Builder name(String name) {
            this.name = Objects.requireNonNull(name);
            return this;
        }
        @CustomType.Setter
        public Builder privateEndpoints(List<GetDicomServicePrivateEndpoint> privateEndpoints) {
            this.privateEndpoints = Objects.requireNonNull(privateEndpoints);
            return this;
        }
        public Builder privateEndpoints(GetDicomServicePrivateEndpoint... privateEndpoints) {
            return privateEndpoints(List.of(privateEndpoints));
        }
        @CustomType.Setter
        public Builder serviceUrl(String serviceUrl) {
            this.serviceUrl = Objects.requireNonNull(serviceUrl);
            return this;
        }
        @CustomType.Setter
        public Builder tags(Map<String,String> tags) {
            this.tags = Objects.requireNonNull(tags);
            return this;
        }
        @CustomType.Setter
        public Builder workspaceId(String workspaceId) {
            this.workspaceId = Objects.requireNonNull(workspaceId);
            return this;
        }
        public GetDicomServiceResult build() {
            final var o = new GetDicomServiceResult();
            o.authentications = authentications;
            o.id = id;
            o.identities = identities;
            o.location = location;
            o.name = name;
            o.privateEndpoints = privateEndpoints;
            o.serviceUrl = serviceUrl;
            o.tags = tags;
            o.workspaceId = workspaceId;
            return o;
        }
    }
}
