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

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

There is a newer version: 2.78.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.enums.FhirServiceKind;
import com.pulumi.azurenative.healthcareapis.inputs.FhirServiceAccessPolicyEntryArgs;
import com.pulumi.azurenative.healthcareapis.inputs.FhirServiceAcrConfigurationArgs;
import com.pulumi.azurenative.healthcareapis.inputs.FhirServiceAuthenticationConfigurationArgs;
import com.pulumi.azurenative.healthcareapis.inputs.FhirServiceCorsConfigurationArgs;
import com.pulumi.azurenative.healthcareapis.inputs.FhirServiceExportConfigurationArgs;
import com.pulumi.azurenative.healthcareapis.inputs.FhirServiceImportConfigurationArgs;
import com.pulumi.azurenative.healthcareapis.inputs.ImplementationGuidesConfigurationArgs;
import com.pulumi.azurenative.healthcareapis.inputs.ResourceVersionPolicyConfigurationArgs;
import com.pulumi.azurenative.healthcareapis.inputs.ServiceManagedIdentityIdentityArgs;
import com.pulumi.core.Either;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.List;
import java.util.Map;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


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

    public static final FhirServiceArgs Empty = new FhirServiceArgs();

    /**
     * Fhir Service access policies.
     * 
     */
    @Import(name="accessPolicies")
    private @Nullable Output> accessPolicies;

    /**
     * @return Fhir Service access policies.
     * 
     */
    public Optional>> accessPolicies() {
        return Optional.ofNullable(this.accessPolicies);
    }

    /**
     * Fhir Service Azure container registry configuration.
     * 
     */
    @Import(name="acrConfiguration")
    private @Nullable Output acrConfiguration;

    /**
     * @return Fhir Service Azure container registry configuration.
     * 
     */
    public Optional> acrConfiguration() {
        return Optional.ofNullable(this.acrConfiguration);
    }

    /**
     * Fhir Service authentication configuration.
     * 
     */
    @Import(name="authenticationConfiguration")
    private @Nullable Output authenticationConfiguration;

    /**
     * @return Fhir Service authentication configuration.
     * 
     */
    public Optional> authenticationConfiguration() {
        return Optional.ofNullable(this.authenticationConfiguration);
    }

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

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

    /**
     * Fhir Service export configuration.
     * 
     */
    @Import(name="exportConfiguration")
    private @Nullable Output exportConfiguration;

    /**
     * @return Fhir Service export configuration.
     * 
     */
    public Optional> exportConfiguration() {
        return Optional.ofNullable(this.exportConfiguration);
    }

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

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

    /**
     * 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);
    }

    /**
     * Implementation Guides configuration.
     * 
     */
    @Import(name="implementationGuidesConfiguration")
    private @Nullable Output implementationGuidesConfiguration;

    /**
     * @return Implementation Guides configuration.
     * 
     */
    public Optional> implementationGuidesConfiguration() {
        return Optional.ofNullable(this.implementationGuidesConfiguration);
    }

    /**
     * Fhir Service import configuration.
     * 
     */
    @Import(name="importConfiguration")
    private @Nullable Output importConfiguration;

    /**
     * @return Fhir Service import configuration.
     * 
     */
    public Optional> importConfiguration() {
        return Optional.ofNullable(this.importConfiguration);
    }

    /**
     * The kind of the service.
     * 
     */
    @Import(name="kind")
    private @Nullable Output> kind;

    /**
     * @return The kind of the service.
     * 
     */
    public Optional>> kind() {
        return Optional.ofNullable(this.kind);
    }

    /**
     * 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;
    }

    /**
     * Determines tracking of history for resources.
     * 
     */
    @Import(name="resourceVersionPolicyConfiguration")
    private @Nullable Output resourceVersionPolicyConfiguration;

    /**
     * @return Determines tracking of history for resources.
     * 
     */
    public Optional> resourceVersionPolicyConfiguration() {
        return Optional.ofNullable(this.resourceVersionPolicyConfiguration);
    }

    /**
     * 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 FhirServiceArgs() {}

    private FhirServiceArgs(FhirServiceArgs $) {
        this.accessPolicies = $.accessPolicies;
        this.acrConfiguration = $.acrConfiguration;
        this.authenticationConfiguration = $.authenticationConfiguration;
        this.corsConfiguration = $.corsConfiguration;
        this.exportConfiguration = $.exportConfiguration;
        this.fhirServiceName = $.fhirServiceName;
        this.identity = $.identity;
        this.implementationGuidesConfiguration = $.implementationGuidesConfiguration;
        this.importConfiguration = $.importConfiguration;
        this.kind = $.kind;
        this.location = $.location;
        this.resourceGroupName = $.resourceGroupName;
        this.resourceVersionPolicyConfiguration = $.resourceVersionPolicyConfiguration;
        this.tags = $.tags;
        this.workspaceName = $.workspaceName;
    }

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

    public static final class Builder {
        private FhirServiceArgs $;

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

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

        /**
         * @param accessPolicies Fhir Service access policies.
         * 
         * @return builder
         * 
         */
        public Builder accessPolicies(@Nullable Output> accessPolicies) {
            $.accessPolicies = accessPolicies;
            return this;
        }

        /**
         * @param accessPolicies Fhir Service access policies.
         * 
         * @return builder
         * 
         */
        public Builder accessPolicies(List accessPolicies) {
            return accessPolicies(Output.of(accessPolicies));
        }

        /**
         * @param accessPolicies Fhir Service access policies.
         * 
         * @return builder
         * 
         */
        public Builder accessPolicies(FhirServiceAccessPolicyEntryArgs... accessPolicies) {
            return accessPolicies(List.of(accessPolicies));
        }

        /**
         * @param acrConfiguration Fhir Service Azure container registry configuration.
         * 
         * @return builder
         * 
         */
        public Builder acrConfiguration(@Nullable Output acrConfiguration) {
            $.acrConfiguration = acrConfiguration;
            return this;
        }

        /**
         * @param acrConfiguration Fhir Service Azure container registry configuration.
         * 
         * @return builder
         * 
         */
        public Builder acrConfiguration(FhirServiceAcrConfigurationArgs acrConfiguration) {
            return acrConfiguration(Output.of(acrConfiguration));
        }

        /**
         * @param authenticationConfiguration Fhir Service authentication configuration.
         * 
         * @return builder
         * 
         */
        public Builder authenticationConfiguration(@Nullable Output authenticationConfiguration) {
            $.authenticationConfiguration = authenticationConfiguration;
            return this;
        }

        /**
         * @param authenticationConfiguration Fhir Service authentication configuration.
         * 
         * @return builder
         * 
         */
        public Builder authenticationConfiguration(FhirServiceAuthenticationConfigurationArgs authenticationConfiguration) {
            return authenticationConfiguration(Output.of(authenticationConfiguration));
        }

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

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

        /**
         * @param exportConfiguration Fhir Service export configuration.
         * 
         * @return builder
         * 
         */
        public Builder exportConfiguration(@Nullable Output exportConfiguration) {
            $.exportConfiguration = exportConfiguration;
            return this;
        }

        /**
         * @param exportConfiguration Fhir Service export configuration.
         * 
         * @return builder
         * 
         */
        public Builder exportConfiguration(FhirServiceExportConfigurationArgs exportConfiguration) {
            return exportConfiguration(Output.of(exportConfiguration));
        }

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

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

        /**
         * @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 implementationGuidesConfiguration Implementation Guides configuration.
         * 
         * @return builder
         * 
         */
        public Builder implementationGuidesConfiguration(@Nullable Output implementationGuidesConfiguration) {
            $.implementationGuidesConfiguration = implementationGuidesConfiguration;
            return this;
        }

        /**
         * @param implementationGuidesConfiguration Implementation Guides configuration.
         * 
         * @return builder
         * 
         */
        public Builder implementationGuidesConfiguration(ImplementationGuidesConfigurationArgs implementationGuidesConfiguration) {
            return implementationGuidesConfiguration(Output.of(implementationGuidesConfiguration));
        }

        /**
         * @param importConfiguration Fhir Service import configuration.
         * 
         * @return builder
         * 
         */
        public Builder importConfiguration(@Nullable Output importConfiguration) {
            $.importConfiguration = importConfiguration;
            return this;
        }

        /**
         * @param importConfiguration Fhir Service import configuration.
         * 
         * @return builder
         * 
         */
        public Builder importConfiguration(FhirServiceImportConfigurationArgs importConfiguration) {
            return importConfiguration(Output.of(importConfiguration));
        }

        /**
         * @param kind The kind of the service.
         * 
         * @return builder
         * 
         */
        public Builder kind(@Nullable Output> kind) {
            $.kind = kind;
            return this;
        }

        /**
         * @param kind The kind of the service.
         * 
         * @return builder
         * 
         */
        public Builder kind(Either kind) {
            return kind(Output.of(kind));
        }

        /**
         * @param kind The kind of the service.
         * 
         * @return builder
         * 
         */
        public Builder kind(String kind) {
            return kind(Either.ofLeft(kind));
        }

        /**
         * @param kind The kind of the service.
         * 
         * @return builder
         * 
         */
        public Builder kind(FhirServiceKind kind) {
            return kind(Either.ofRight(kind));
        }

        /**
         * @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 resourceVersionPolicyConfiguration Determines tracking of history for resources.
         * 
         * @return builder
         * 
         */
        public Builder resourceVersionPolicyConfiguration(@Nullable Output resourceVersionPolicyConfiguration) {
            $.resourceVersionPolicyConfiguration = resourceVersionPolicyConfiguration;
            return this;
        }

        /**
         * @param resourceVersionPolicyConfiguration Determines tracking of history for resources.
         * 
         * @return builder
         * 
         */
        public Builder resourceVersionPolicyConfiguration(ResourceVersionPolicyConfigurationArgs resourceVersionPolicyConfiguration) {
            return resourceVersionPolicyConfiguration(Output.of(resourceVersionPolicyConfiguration));
        }

        /**
         * @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 FhirServiceArgs build() {
            if ($.resourceGroupName == null) {
                throw new MissingRequiredPropertyException("FhirServiceArgs", "resourceGroupName");
            }
            if ($.workspaceName == null) {
                throw new MissingRequiredPropertyException("FhirServiceArgs", "workspaceName");
            }
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy