
com.pulumi.azurenative.appplatform.outputs.SsoPropertiesResponse 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.appplatform.outputs;
import com.pulumi.core.annotations.CustomType;
import java.lang.String;
import java.util.List;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class SsoPropertiesResponse {
/**
* @return The public identifier for the application
*
*/
private @Nullable String clientId;
/**
* @return The secret known only to the application and the authorization server
*
*/
private @Nullable String clientSecret;
/**
* @return The URI of Issuer Identifier
*
*/
private @Nullable String issuerUri;
/**
* @return It defines the specific actions applications can be allowed to do on a user's behalf
*
*/
private @Nullable List scope;
private SsoPropertiesResponse() {}
/**
* @return The public identifier for the application
*
*/
public Optional clientId() {
return Optional.ofNullable(this.clientId);
}
/**
* @return The secret known only to the application and the authorization server
*
*/
public Optional clientSecret() {
return Optional.ofNullable(this.clientSecret);
}
/**
* @return The URI of Issuer Identifier
*
*/
public Optional issuerUri() {
return Optional.ofNullable(this.issuerUri);
}
/**
* @return It defines the specific actions applications can be allowed to do on a user's behalf
*
*/
public List scope() {
return this.scope == null ? List.of() : this.scope;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(SsoPropertiesResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable String clientId;
private @Nullable String clientSecret;
private @Nullable String issuerUri;
private @Nullable List scope;
public Builder() {}
public Builder(SsoPropertiesResponse defaults) {
Objects.requireNonNull(defaults);
this.clientId = defaults.clientId;
this.clientSecret = defaults.clientSecret;
this.issuerUri = defaults.issuerUri;
this.scope = defaults.scope;
}
@CustomType.Setter
public Builder clientId(@Nullable String clientId) {
this.clientId = clientId;
return this;
}
@CustomType.Setter
public Builder clientSecret(@Nullable String clientSecret) {
this.clientSecret = clientSecret;
return this;
}
@CustomType.Setter
public Builder issuerUri(@Nullable String issuerUri) {
this.issuerUri = issuerUri;
return this;
}
@CustomType.Setter
public Builder scope(@Nullable List scope) {
this.scope = scope;
return this;
}
public Builder scope(String... scope) {
return scope(List.of(scope));
}
public SsoPropertiesResponse build() {
final var _resultValue = new SsoPropertiesResponse();
_resultValue.clientId = clientId;
_resultValue.clientSecret = clientSecret;
_resultValue.issuerUri = issuerUri;
_resultValue.scope = scope;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy