
com.pulumi.azurenative.web.outputs.CustomOpenIdConnectProviderResponse 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.web.outputs;
import com.pulumi.azurenative.web.outputs.OpenIdConnectLoginResponse;
import com.pulumi.azurenative.web.outputs.OpenIdConnectRegistrationResponse;
import com.pulumi.core.annotations.CustomType;
import java.lang.Boolean;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class CustomOpenIdConnectProviderResponse {
/**
* @return <code>false</code> if the custom Open ID provider provider should not be enabled; otherwise, <code>true</code>.
*
*/
private @Nullable Boolean enabled;
/**
* @return The configuration settings of the login flow of the custom Open ID Connect provider.
*
*/
private @Nullable OpenIdConnectLoginResponse login;
/**
* @return The configuration settings of the app registration for the custom Open ID Connect provider.
*
*/
private @Nullable OpenIdConnectRegistrationResponse registration;
private CustomOpenIdConnectProviderResponse() {}
/**
* @return <code>false</code> if the custom Open ID provider provider should not be enabled; otherwise, <code>true</code>.
*
*/
public Optional enabled() {
return Optional.ofNullable(this.enabled);
}
/**
* @return The configuration settings of the login flow of the custom Open ID Connect provider.
*
*/
public Optional login() {
return Optional.ofNullable(this.login);
}
/**
* @return The configuration settings of the app registration for the custom Open ID Connect provider.
*
*/
public Optional registration() {
return Optional.ofNullable(this.registration);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(CustomOpenIdConnectProviderResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable Boolean enabled;
private @Nullable OpenIdConnectLoginResponse login;
private @Nullable OpenIdConnectRegistrationResponse registration;
public Builder() {}
public Builder(CustomOpenIdConnectProviderResponse defaults) {
Objects.requireNonNull(defaults);
this.enabled = defaults.enabled;
this.login = defaults.login;
this.registration = defaults.registration;
}
@CustomType.Setter
public Builder enabled(@Nullable Boolean enabled) {
this.enabled = enabled;
return this;
}
@CustomType.Setter
public Builder login(@Nullable OpenIdConnectLoginResponse login) {
this.login = login;
return this;
}
@CustomType.Setter
public Builder registration(@Nullable OpenIdConnectRegistrationResponse registration) {
this.registration = registration;
return this;
}
public CustomOpenIdConnectProviderResponse build() {
final var _resultValue = new CustomOpenIdConnectProviderResponse();
_resultValue.enabled = enabled;
_resultValue.login = login;
_resultValue.registration = registration;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy