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

com.pulumi.azurenative.securityandcompliance.outputs.ServicesPropertiesResponse 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.securityandcompliance.outputs;

import com.pulumi.azurenative.securityandcompliance.outputs.PrivateEndpointConnectionResponse;
import com.pulumi.azurenative.securityandcompliance.outputs.ServiceAccessPolicyEntryResponse;
import com.pulumi.azurenative.securityandcompliance.outputs.ServiceAuthenticationConfigurationInfoResponse;
import com.pulumi.azurenative.securityandcompliance.outputs.ServiceCorsConfigurationInfoResponse;
import com.pulumi.azurenative.securityandcompliance.outputs.ServiceCosmosDbConfigurationInfoResponse;
import com.pulumi.azurenative.securityandcompliance.outputs.ServiceExportConfigurationInfoResponse;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.List;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;

@CustomType
public final class ServicesPropertiesResponse {
    /**
     * @return The access policies of the service instance.
     * 
     */
    private @Nullable List accessPolicies;
    /**
     * @return The authentication configuration for the service instance.
     * 
     */
    private @Nullable ServiceAuthenticationConfigurationInfoResponse authenticationConfiguration;
    /**
     * @return The settings for the CORS configuration of the service instance.
     * 
     */
    private @Nullable ServiceCorsConfigurationInfoResponse corsConfiguration;
    /**
     * @return The settings for the Cosmos DB database backing the service.
     * 
     */
    private @Nullable ServiceCosmosDbConfigurationInfoResponse cosmosDbConfiguration;
    /**
     * @return The settings for the export operation of the service instance.
     * 
     */
    private @Nullable ServiceExportConfigurationInfoResponse exportConfiguration;
    /**
     * @return The list of private endpoint connections that are set up for this resource.
     * 
     */
    private @Nullable List privateEndpointConnections;
    /**
     * @return The provisioning state.
     * 
     */
    private String provisioningState;
    /**
     * @return Control permission for data plane traffic coming from public networks while private endpoint is enabled.
     * 
     */
    private @Nullable String publicNetworkAccess;

    private ServicesPropertiesResponse() {}
    /**
     * @return The access policies of the service instance.
     * 
     */
    public List accessPolicies() {
        return this.accessPolicies == null ? List.of() : this.accessPolicies;
    }
    /**
     * @return The authentication configuration for the service instance.
     * 
     */
    public Optional authenticationConfiguration() {
        return Optional.ofNullable(this.authenticationConfiguration);
    }
    /**
     * @return The settings for the CORS configuration of the service instance.
     * 
     */
    public Optional corsConfiguration() {
        return Optional.ofNullable(this.corsConfiguration);
    }
    /**
     * @return The settings for the Cosmos DB database backing the service.
     * 
     */
    public Optional cosmosDbConfiguration() {
        return Optional.ofNullable(this.cosmosDbConfiguration);
    }
    /**
     * @return The settings for the export operation of the service instance.
     * 
     */
    public Optional exportConfiguration() {
        return Optional.ofNullable(this.exportConfiguration);
    }
    /**
     * @return The list of private endpoint connections that are set up for this resource.
     * 
     */
    public List privateEndpointConnections() {
        return this.privateEndpointConnections == null ? List.of() : this.privateEndpointConnections;
    }
    /**
     * @return The provisioning state.
     * 
     */
    public String provisioningState() {
        return this.provisioningState;
    }
    /**
     * @return Control permission for data plane traffic coming from public networks while private endpoint is enabled.
     * 
     */
    public Optional publicNetworkAccess() {
        return Optional.ofNullable(this.publicNetworkAccess);
    }

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

    public static Builder builder(ServicesPropertiesResponse defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable List accessPolicies;
        private @Nullable ServiceAuthenticationConfigurationInfoResponse authenticationConfiguration;
        private @Nullable ServiceCorsConfigurationInfoResponse corsConfiguration;
        private @Nullable ServiceCosmosDbConfigurationInfoResponse cosmosDbConfiguration;
        private @Nullable ServiceExportConfigurationInfoResponse exportConfiguration;
        private @Nullable List privateEndpointConnections;
        private String provisioningState;
        private @Nullable String publicNetworkAccess;
        public Builder() {}
        public Builder(ServicesPropertiesResponse defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.accessPolicies = defaults.accessPolicies;
    	      this.authenticationConfiguration = defaults.authenticationConfiguration;
    	      this.corsConfiguration = defaults.corsConfiguration;
    	      this.cosmosDbConfiguration = defaults.cosmosDbConfiguration;
    	      this.exportConfiguration = defaults.exportConfiguration;
    	      this.privateEndpointConnections = defaults.privateEndpointConnections;
    	      this.provisioningState = defaults.provisioningState;
    	      this.publicNetworkAccess = defaults.publicNetworkAccess;
        }

        @CustomType.Setter
        public Builder accessPolicies(@Nullable List accessPolicies) {

            this.accessPolicies = accessPolicies;
            return this;
        }
        public Builder accessPolicies(ServiceAccessPolicyEntryResponse... accessPolicies) {
            return accessPolicies(List.of(accessPolicies));
        }
        @CustomType.Setter
        public Builder authenticationConfiguration(@Nullable ServiceAuthenticationConfigurationInfoResponse authenticationConfiguration) {

            this.authenticationConfiguration = authenticationConfiguration;
            return this;
        }
        @CustomType.Setter
        public Builder corsConfiguration(@Nullable ServiceCorsConfigurationInfoResponse corsConfiguration) {

            this.corsConfiguration = corsConfiguration;
            return this;
        }
        @CustomType.Setter
        public Builder cosmosDbConfiguration(@Nullable ServiceCosmosDbConfigurationInfoResponse cosmosDbConfiguration) {

            this.cosmosDbConfiguration = cosmosDbConfiguration;
            return this;
        }
        @CustomType.Setter
        public Builder exportConfiguration(@Nullable ServiceExportConfigurationInfoResponse exportConfiguration) {

            this.exportConfiguration = exportConfiguration;
            return this;
        }
        @CustomType.Setter
        public Builder privateEndpointConnections(@Nullable List privateEndpointConnections) {

            this.privateEndpointConnections = privateEndpointConnections;
            return this;
        }
        public Builder privateEndpointConnections(PrivateEndpointConnectionResponse... privateEndpointConnections) {
            return privateEndpointConnections(List.of(privateEndpointConnections));
        }
        @CustomType.Setter
        public Builder provisioningState(String provisioningState) {
            if (provisioningState == null) {
              throw new MissingRequiredPropertyException("ServicesPropertiesResponse", "provisioningState");
            }
            this.provisioningState = provisioningState;
            return this;
        }
        @CustomType.Setter
        public Builder publicNetworkAccess(@Nullable String publicNetworkAccess) {

            this.publicNetworkAccess = publicNetworkAccess;
            return this;
        }
        public ServicesPropertiesResponse build() {
            final var _resultValue = new ServicesPropertiesResponse();
            _resultValue.accessPolicies = accessPolicies;
            _resultValue.authenticationConfiguration = authenticationConfiguration;
            _resultValue.corsConfiguration = corsConfiguration;
            _resultValue.cosmosDbConfiguration = cosmosDbConfiguration;
            _resultValue.exportConfiguration = exportConfiguration;
            _resultValue.privateEndpointConnections = privateEndpointConnections;
            _resultValue.provisioningState = provisioningState;
            _resultValue.publicNetworkAccess = publicNetworkAccess;
            return _resultValue;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy