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

com.pulumi.azurenative.healthcareapis.DicomServiceArgs Maven / Gradle / Ivy

There is a newer version: 2.72.0
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.azurenative.healthcareapis;

import com.pulumi.azurenative.healthcareapis.inputs.CorsConfigurationArgs;
import com.pulumi.azurenative.healthcareapis.inputs.ServiceManagedIdentityIdentityArgs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Map;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


public final class DicomServiceArgs extends com.pulumi.resources.ResourceArgs {

    public static final DicomServiceArgs Empty = new DicomServiceArgs();

    /**
     * Dicom Service Cors configuration.
     * 
     */
    @Import(name="corsConfiguration")
    private @Nullable Output corsConfiguration;

    /**
     * @return Dicom Service Cors configuration.
     * 
     */
    public Optional> corsConfiguration() {
        return Optional.ofNullable(this.corsConfiguration);
    }

    /**
     * The name of DICOM Service resource.
     * 
     */
    @Import(name="dicomServiceName")
    private @Nullable Output dicomServiceName;

    /**
     * @return The name of DICOM Service resource.
     * 
     */
    public Optional> dicomServiceName() {
        return Optional.ofNullable(this.dicomServiceName);
    }

    /**
     * Setting indicating whether the service has a managed identity associated with it.
     * 
     */
    @Import(name="identity")
    private @Nullable Output identity;

    /**
     * @return Setting indicating whether the service has a managed identity associated with it.
     * 
     */
    public Optional> identity() {
        return Optional.ofNullable(this.identity);
    }

    /**
     * The resource location.
     * 
     */
    @Import(name="location")
    private @Nullable Output location;

    /**
     * @return The resource location.
     * 
     */
    public Optional> location() {
        return Optional.ofNullable(this.location);
    }

    /**
     * The name of the resource group that contains the service instance.
     * 
     */
    @Import(name="resourceGroupName", required=true)
    private Output resourceGroupName;

    /**
     * @return The name of the resource group that contains the service instance.
     * 
     */
    public Output resourceGroupName() {
        return this.resourceGroupName;
    }

    /**
     * Resource tags.
     * 
     */
    @Import(name="tags")
    private @Nullable Output> tags;

    /**
     * @return Resource tags.
     * 
     */
    public Optional>> tags() {
        return Optional.ofNullable(this.tags);
    }

    /**
     * The name of workspace resource.
     * 
     */
    @Import(name="workspaceName", required=true)
    private Output workspaceName;

    /**
     * @return The name of workspace resource.
     * 
     */
    public Output workspaceName() {
        return this.workspaceName;
    }

    private DicomServiceArgs() {}

    private DicomServiceArgs(DicomServiceArgs $) {
        this.corsConfiguration = $.corsConfiguration;
        this.dicomServiceName = $.dicomServiceName;
        this.identity = $.identity;
        this.location = $.location;
        this.resourceGroupName = $.resourceGroupName;
        this.tags = $.tags;
        this.workspaceName = $.workspaceName;
    }

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

    public static final class Builder {
        private DicomServiceArgs $;

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

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

        /**
         * @param corsConfiguration Dicom Service Cors configuration.
         * 
         * @return builder
         * 
         */
        public Builder corsConfiguration(@Nullable Output corsConfiguration) {
            $.corsConfiguration = corsConfiguration;
            return this;
        }

        /**
         * @param corsConfiguration Dicom Service Cors configuration.
         * 
         * @return builder
         * 
         */
        public Builder corsConfiguration(CorsConfigurationArgs corsConfiguration) {
            return corsConfiguration(Output.of(corsConfiguration));
        }

        /**
         * @param dicomServiceName The name of DICOM Service resource.
         * 
         * @return builder
         * 
         */
        public Builder dicomServiceName(@Nullable Output dicomServiceName) {
            $.dicomServiceName = dicomServiceName;
            return this;
        }

        /**
         * @param dicomServiceName The name of DICOM Service resource.
         * 
         * @return builder
         * 
         */
        public Builder dicomServiceName(String dicomServiceName) {
            return dicomServiceName(Output.of(dicomServiceName));
        }

        /**
         * @param identity Setting indicating whether the service has a managed identity associated with it.
         * 
         * @return builder
         * 
         */
        public Builder identity(@Nullable Output identity) {
            $.identity = identity;
            return this;
        }

        /**
         * @param identity Setting indicating whether the service has a managed identity associated with it.
         * 
         * @return builder
         * 
         */
        public Builder identity(ServiceManagedIdentityIdentityArgs identity) {
            return identity(Output.of(identity));
        }

        /**
         * @param location The resource location.
         * 
         * @return builder
         * 
         */
        public Builder location(@Nullable Output location) {
            $.location = location;
            return this;
        }

        /**
         * @param location The resource location.
         * 
         * @return builder
         * 
         */
        public Builder location(String location) {
            return location(Output.of(location));
        }

        /**
         * @param resourceGroupName The name of the resource group that contains the service instance.
         * 
         * @return builder
         * 
         */
        public Builder resourceGroupName(Output resourceGroupName) {
            $.resourceGroupName = resourceGroupName;
            return this;
        }

        /**
         * @param resourceGroupName The name of the resource group that contains the service instance.
         * 
         * @return builder
         * 
         */
        public Builder resourceGroupName(String resourceGroupName) {
            return resourceGroupName(Output.of(resourceGroupName));
        }

        /**
         * @param tags Resource tags.
         * 
         * @return builder
         * 
         */
        public Builder tags(@Nullable Output> tags) {
            $.tags = tags;
            return this;
        }

        /**
         * @param tags Resource tags.
         * 
         * @return builder
         * 
         */
        public Builder tags(Map tags) {
            return tags(Output.of(tags));
        }

        /**
         * @param workspaceName The name of workspace resource.
         * 
         * @return builder
         * 
         */
        public Builder workspaceName(Output workspaceName) {
            $.workspaceName = workspaceName;
            return this;
        }

        /**
         * @param workspaceName The name of workspace resource.
         * 
         * @return builder
         * 
         */
        public Builder workspaceName(String workspaceName) {
            return workspaceName(Output.of(workspaceName));
        }

        public DicomServiceArgs build() {
            if ($.resourceGroupName == null) {
                throw new MissingRequiredPropertyException("DicomServiceArgs", "resourceGroupName");
            }
            if ($.workspaceName == null) {
                throw new MissingRequiredPropertyException("DicomServiceArgs", "workspaceName");
            }
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy