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

com.pulumi.azurenative.healthcareapis.inputs.ServicesPropertiesArgs Maven / Gradle / Ivy

// *** 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.inputs;

import com.pulumi.azurenative.healthcareapis.enums.PublicNetworkAccess;
import com.pulumi.azurenative.healthcareapis.inputs.PrivateEndpointConnectionArgs;
import com.pulumi.azurenative.healthcareapis.inputs.ServiceAccessPolicyEntryArgs;
import com.pulumi.azurenative.healthcareapis.inputs.ServiceAcrConfigurationInfoArgs;
import com.pulumi.azurenative.healthcareapis.inputs.ServiceAuthenticationConfigurationInfoArgs;
import com.pulumi.azurenative.healthcareapis.inputs.ServiceCorsConfigurationInfoArgs;
import com.pulumi.azurenative.healthcareapis.inputs.ServiceCosmosDbConfigurationInfoArgs;
import com.pulumi.azurenative.healthcareapis.inputs.ServiceExportConfigurationInfoArgs;
import com.pulumi.azurenative.healthcareapis.inputs.ServiceImportConfigurationInfoArgs;
import com.pulumi.core.Either;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import java.lang.String;
import java.util.List;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


/**
 * The properties of a service instance.
 * 
 */
public final class ServicesPropertiesArgs extends com.pulumi.resources.ResourceArgs {

    public static final ServicesPropertiesArgs Empty = new ServicesPropertiesArgs();

    /**
     * The access policies of the service instance.
     * 
     */
    @Import(name="accessPolicies")
    private @Nullable Output> accessPolicies;

    /**
     * @return The access policies of the service instance.
     * 
     */
    public Optional>> accessPolicies() {
        return Optional.ofNullable(this.accessPolicies);
    }

    /**
     * The azure container registry settings used for convert data operation of the service instance.
     * 
     */
    @Import(name="acrConfiguration")
    private @Nullable Output acrConfiguration;

    /**
     * @return The azure container registry settings used for convert data operation of the service instance.
     * 
     */
    public Optional> acrConfiguration() {
        return Optional.ofNullable(this.acrConfiguration);
    }

    /**
     * The authentication configuration for the service instance.
     * 
     */
    @Import(name="authenticationConfiguration")
    private @Nullable Output authenticationConfiguration;

    /**
     * @return The authentication configuration for the service instance.
     * 
     */
    public Optional> authenticationConfiguration() {
        return Optional.ofNullable(this.authenticationConfiguration);
    }

    /**
     * The settings for the CORS configuration of the service instance.
     * 
     */
    @Import(name="corsConfiguration")
    private @Nullable Output corsConfiguration;

    /**
     * @return The settings for the CORS configuration of the service instance.
     * 
     */
    public Optional> corsConfiguration() {
        return Optional.ofNullable(this.corsConfiguration);
    }

    /**
     * The settings for the Cosmos DB database backing the service.
     * 
     */
    @Import(name="cosmosDbConfiguration")
    private @Nullable Output cosmosDbConfiguration;

    /**
     * @return The settings for the Cosmos DB database backing the service.
     * 
     */
    public Optional> cosmosDbConfiguration() {
        return Optional.ofNullable(this.cosmosDbConfiguration);
    }

    /**
     * The settings for the export operation of the service instance.
     * 
     */
    @Import(name="exportConfiguration")
    private @Nullable Output exportConfiguration;

    /**
     * @return The settings for the export operation of the service instance.
     * 
     */
    public Optional> exportConfiguration() {
        return Optional.ofNullable(this.exportConfiguration);
    }

    /**
     * The settings for the import operation of the service instance.
     * 
     */
    @Import(name="importConfiguration")
    private @Nullable Output importConfiguration;

    /**
     * @return The settings for the import operation of the service instance.
     * 
     */
    public Optional> importConfiguration() {
        return Optional.ofNullable(this.importConfiguration);
    }

    /**
     * The list of private endpoint connections that are set up for this resource.
     * 
     */
    @Import(name="privateEndpointConnections")
    private @Nullable Output> privateEndpointConnections;

    /**
     * @return The list of private endpoint connections that are set up for this resource.
     * 
     */
    public Optional>> privateEndpointConnections() {
        return Optional.ofNullable(this.privateEndpointConnections);
    }

    /**
     * Control permission for data plane traffic coming from public networks while private endpoint is enabled.
     * 
     */
    @Import(name="publicNetworkAccess")
    private @Nullable Output> publicNetworkAccess;

    /**
     * @return Control permission for data plane traffic coming from public networks while private endpoint is enabled.
     * 
     */
    public Optional>> publicNetworkAccess() {
        return Optional.ofNullable(this.publicNetworkAccess);
    }

    private ServicesPropertiesArgs() {}

    private ServicesPropertiesArgs(ServicesPropertiesArgs $) {
        this.accessPolicies = $.accessPolicies;
        this.acrConfiguration = $.acrConfiguration;
        this.authenticationConfiguration = $.authenticationConfiguration;
        this.corsConfiguration = $.corsConfiguration;
        this.cosmosDbConfiguration = $.cosmosDbConfiguration;
        this.exportConfiguration = $.exportConfiguration;
        this.importConfiguration = $.importConfiguration;
        this.privateEndpointConnections = $.privateEndpointConnections;
        this.publicNetworkAccess = $.publicNetworkAccess;
    }

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

    public static final class Builder {
        private ServicesPropertiesArgs $;

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

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

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

        /**
         * @param accessPolicies The access policies of the service instance.
         * 
         * @return builder
         * 
         */
        public Builder accessPolicies(List accessPolicies) {
            return accessPolicies(Output.of(accessPolicies));
        }

        /**
         * @param accessPolicies The access policies of the service instance.
         * 
         * @return builder
         * 
         */
        public Builder accessPolicies(ServiceAccessPolicyEntryArgs... accessPolicies) {
            return accessPolicies(List.of(accessPolicies));
        }

        /**
         * @param acrConfiguration The azure container registry settings used for convert data operation of the service instance.
         * 
         * @return builder
         * 
         */
        public Builder acrConfiguration(@Nullable Output acrConfiguration) {
            $.acrConfiguration = acrConfiguration;
            return this;
        }

        /**
         * @param acrConfiguration The azure container registry settings used for convert data operation of the service instance.
         * 
         * @return builder
         * 
         */
        public Builder acrConfiguration(ServiceAcrConfigurationInfoArgs acrConfiguration) {
            return acrConfiguration(Output.of(acrConfiguration));
        }

        /**
         * @param authenticationConfiguration The authentication configuration for the service instance.
         * 
         * @return builder
         * 
         */
        public Builder authenticationConfiguration(@Nullable Output authenticationConfiguration) {
            $.authenticationConfiguration = authenticationConfiguration;
            return this;
        }

        /**
         * @param authenticationConfiguration The authentication configuration for the service instance.
         * 
         * @return builder
         * 
         */
        public Builder authenticationConfiguration(ServiceAuthenticationConfigurationInfoArgs authenticationConfiguration) {
            return authenticationConfiguration(Output.of(authenticationConfiguration));
        }

        /**
         * @param corsConfiguration The settings for the CORS configuration of the service instance.
         * 
         * @return builder
         * 
         */
        public Builder corsConfiguration(@Nullable Output corsConfiguration) {
            $.corsConfiguration = corsConfiguration;
            return this;
        }

        /**
         * @param corsConfiguration The settings for the CORS configuration of the service instance.
         * 
         * @return builder
         * 
         */
        public Builder corsConfiguration(ServiceCorsConfigurationInfoArgs corsConfiguration) {
            return corsConfiguration(Output.of(corsConfiguration));
        }

        /**
         * @param cosmosDbConfiguration The settings for the Cosmos DB database backing the service.
         * 
         * @return builder
         * 
         */
        public Builder cosmosDbConfiguration(@Nullable Output cosmosDbConfiguration) {
            $.cosmosDbConfiguration = cosmosDbConfiguration;
            return this;
        }

        /**
         * @param cosmosDbConfiguration The settings for the Cosmos DB database backing the service.
         * 
         * @return builder
         * 
         */
        public Builder cosmosDbConfiguration(ServiceCosmosDbConfigurationInfoArgs cosmosDbConfiguration) {
            return cosmosDbConfiguration(Output.of(cosmosDbConfiguration));
        }

        /**
         * @param exportConfiguration The settings for the export operation of the service instance.
         * 
         * @return builder
         * 
         */
        public Builder exportConfiguration(@Nullable Output exportConfiguration) {
            $.exportConfiguration = exportConfiguration;
            return this;
        }

        /**
         * @param exportConfiguration The settings for the export operation of the service instance.
         * 
         * @return builder
         * 
         */
        public Builder exportConfiguration(ServiceExportConfigurationInfoArgs exportConfiguration) {
            return exportConfiguration(Output.of(exportConfiguration));
        }

        /**
         * @param importConfiguration The settings for the import operation of the service instance.
         * 
         * @return builder
         * 
         */
        public Builder importConfiguration(@Nullable Output importConfiguration) {
            $.importConfiguration = importConfiguration;
            return this;
        }

        /**
         * @param importConfiguration The settings for the import operation of the service instance.
         * 
         * @return builder
         * 
         */
        public Builder importConfiguration(ServiceImportConfigurationInfoArgs importConfiguration) {
            return importConfiguration(Output.of(importConfiguration));
        }

        /**
         * @param privateEndpointConnections The list of private endpoint connections that are set up for this resource.
         * 
         * @return builder
         * 
         */
        public Builder privateEndpointConnections(@Nullable Output> privateEndpointConnections) {
            $.privateEndpointConnections = privateEndpointConnections;
            return this;
        }

        /**
         * @param privateEndpointConnections The list of private endpoint connections that are set up for this resource.
         * 
         * @return builder
         * 
         */
        public Builder privateEndpointConnections(List privateEndpointConnections) {
            return privateEndpointConnections(Output.of(privateEndpointConnections));
        }

        /**
         * @param privateEndpointConnections The list of private endpoint connections that are set up for this resource.
         * 
         * @return builder
         * 
         */
        public Builder privateEndpointConnections(PrivateEndpointConnectionArgs... privateEndpointConnections) {
            return privateEndpointConnections(List.of(privateEndpointConnections));
        }

        /**
         * @param publicNetworkAccess Control permission for data plane traffic coming from public networks while private endpoint is enabled.
         * 
         * @return builder
         * 
         */
        public Builder publicNetworkAccess(@Nullable Output> publicNetworkAccess) {
            $.publicNetworkAccess = publicNetworkAccess;
            return this;
        }

        /**
         * @param publicNetworkAccess Control permission for data plane traffic coming from public networks while private endpoint is enabled.
         * 
         * @return builder
         * 
         */
        public Builder publicNetworkAccess(Either publicNetworkAccess) {
            return publicNetworkAccess(Output.of(publicNetworkAccess));
        }

        /**
         * @param publicNetworkAccess Control permission for data plane traffic coming from public networks while private endpoint is enabled.
         * 
         * @return builder
         * 
         */
        public Builder publicNetworkAccess(String publicNetworkAccess) {
            return publicNetworkAccess(Either.ofLeft(publicNetworkAccess));
        }

        /**
         * @param publicNetworkAccess Control permission for data plane traffic coming from public networks while private endpoint is enabled.
         * 
         * @return builder
         * 
         */
        public Builder publicNetworkAccess(PublicNetworkAccess publicNetworkAccess) {
            return publicNetworkAccess(Either.ofRight(publicNetworkAccess));
        }

        public ServicesPropertiesArgs build() {
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy