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

@CustomType
public final class FhirServiceOciArtifact {
    /**
     * @return A digest of an image within Azure container registry used for export operations of the service instance to narrow the artifacts down.
     * 
     */
    private @Nullable String digest;
    /**
     * @return An image within Azure container registry used for export operations of the service instance.
     * 
     */
    private @Nullable String imageName;
    /**
     * @return An Azure container registry used for export operations of the service instance.
     * 
     */
    private String loginServer;

    private FhirServiceOciArtifact() {}
    /**
     * @return A digest of an image within Azure container registry used for export operations of the service instance to narrow the artifacts down.
     * 
     */
    public Optional<String> digest() {
        return Optional.ofNullable(this.digest);
    }
    /**
     * @return An image within Azure container registry used for export operations of the service instance.
     * 
     */
    public Optional<String> imageName() {
        return Optional.ofNullable(this.imageName);
    }
    /**
     * @return An Azure container registry used for export operations of the service instance.
     * 
     */
    public String loginServer() {
        return this.loginServer;
    }

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

    public static Builder builder(FhirServiceOciArtifact defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable String digest;
        private @Nullable String imageName;
        private String loginServer;
        public Builder() {}
        public Builder(FhirServiceOciArtifact defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.digest = defaults.digest;
    	      this.imageName = defaults.imageName;
    	      this.loginServer = defaults.loginServer;
        }

        @CustomType.Setter
        public Builder digest(@Nullable String digest) {
            this.digest = digest;
            return this;
        }
        @CustomType.Setter
        public Builder imageName(@Nullable String imageName) {
            this.imageName = imageName;
            return this;
        }
        @CustomType.Setter
        public Builder loginServer(String loginServer) {
            this.loginServer = Objects.requireNonNull(loginServer);
            return this;
        }
        public FhirServiceOciArtifact build() {
            final var o = new FhirServiceOciArtifact();
            o.digest = digest;
            o.imageName = imageName;
            o.loginServer = loginServer;
            return o;
        }
    }
}
