
com.pulumi.azurenative.app.outputs.OpenIdConnectRegistrationResponse 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.app.outputs;
import com.pulumi.azurenative.app.outputs.OpenIdConnectClientCredentialResponse;
import com.pulumi.azurenative.app.outputs.OpenIdConnectConfigResponse;
import com.pulumi.core.annotations.CustomType;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class OpenIdConnectRegistrationResponse {
/**
* @return The authentication credentials of the custom Open ID Connect provider.
*
*/
private @Nullable OpenIdConnectClientCredentialResponse clientCredential;
/**
* @return The client id of the custom Open ID Connect provider.
*
*/
private @Nullable String clientId;
/**
* @return The configuration settings of the endpoints used for the custom Open ID Connect provider.
*
*/
private @Nullable OpenIdConnectConfigResponse openIdConnectConfiguration;
private OpenIdConnectRegistrationResponse() {}
/**
* @return The authentication credentials of the custom Open ID Connect provider.
*
*/
public Optional clientCredential() {
return Optional.ofNullable(this.clientCredential);
}
/**
* @return The client id of the custom Open ID Connect provider.
*
*/
public Optional clientId() {
return Optional.ofNullable(this.clientId);
}
/**
* @return The configuration settings of the endpoints used for the custom Open ID Connect provider.
*
*/
public Optional openIdConnectConfiguration() {
return Optional.ofNullable(this.openIdConnectConfiguration);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(OpenIdConnectRegistrationResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable OpenIdConnectClientCredentialResponse clientCredential;
private @Nullable String clientId;
private @Nullable OpenIdConnectConfigResponse openIdConnectConfiguration;
public Builder() {}
public Builder(OpenIdConnectRegistrationResponse defaults) {
Objects.requireNonNull(defaults);
this.clientCredential = defaults.clientCredential;
this.clientId = defaults.clientId;
this.openIdConnectConfiguration = defaults.openIdConnectConfiguration;
}
@CustomType.Setter
public Builder clientCredential(@Nullable OpenIdConnectClientCredentialResponse clientCredential) {
this.clientCredential = clientCredential;
return this;
}
@CustomType.Setter
public Builder clientId(@Nullable String clientId) {
this.clientId = clientId;
return this;
}
@CustomType.Setter
public Builder openIdConnectConfiguration(@Nullable OpenIdConnectConfigResponse openIdConnectConfiguration) {
this.openIdConnectConfiguration = openIdConnectConfiguration;
return this;
}
public OpenIdConnectRegistrationResponse build() {
final var _resultValue = new OpenIdConnectRegistrationResponse();
_resultValue.clientCredential = clientCredential;
_resultValue.clientId = clientId;
_resultValue.openIdConnectConfiguration = openIdConnectConfiguration;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy