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

com.pulumi.azurenative.healthcareapis.outputs.ServiceAuthenticationConfigurationInfoResponse 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.outputs;

import com.pulumi.core.annotations.CustomType;
import java.lang.Boolean;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;

@CustomType
public final class ServiceAuthenticationConfigurationInfoResponse {
    /**
     * @return The audience url for the service
     * 
     */
    private @Nullable String audience;
    /**
     * @return The authority url for the service
     * 
     */
    private @Nullable String authority;
    /**
     * @return If the SMART on FHIR proxy is enabled
     * 
     */
    private @Nullable Boolean smartProxyEnabled;

    private ServiceAuthenticationConfigurationInfoResponse() {}
    /**
     * @return The audience url for the service
     * 
     */
    public Optional audience() {
        return Optional.ofNullable(this.audience);
    }
    /**
     * @return The authority url for the service
     * 
     */
    public Optional authority() {
        return Optional.ofNullable(this.authority);
    }
    /**
     * @return If the SMART on FHIR proxy is enabled
     * 
     */
    public Optional smartProxyEnabled() {
        return Optional.ofNullable(this.smartProxyEnabled);
    }

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

    public static Builder builder(ServiceAuthenticationConfigurationInfoResponse defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable String audience;
        private @Nullable String authority;
        private @Nullable Boolean smartProxyEnabled;
        public Builder() {}
        public Builder(ServiceAuthenticationConfigurationInfoResponse defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.audience = defaults.audience;
    	      this.authority = defaults.authority;
    	      this.smartProxyEnabled = defaults.smartProxyEnabled;
        }

        @CustomType.Setter
        public Builder audience(@Nullable String audience) {

            this.audience = audience;
            return this;
        }
        @CustomType.Setter
        public Builder authority(@Nullable String authority) {

            this.authority = authority;
            return this;
        }
        @CustomType.Setter
        public Builder smartProxyEnabled(@Nullable Boolean smartProxyEnabled) {

            this.smartProxyEnabled = smartProxyEnabled;
            return this;
        }
        public ServiceAuthenticationConfigurationInfoResponse build() {
            final var _resultValue = new ServiceAuthenticationConfigurationInfoResponse();
            _resultValue.audience = audience;
            _resultValue.authority = authority;
            _resultValue.smartProxyEnabled = smartProxyEnabled;
            return _resultValue;
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy