
com.pulumi.azurenative.awsconnector.outputs.OpenIDConnectConfigResponse 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.awsconnector.outputs;
import com.pulumi.core.annotations.CustomType;
import java.lang.Double;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class OpenIDConnectConfigResponse {
/**
* @return <p>The number of milliseconds that a token is valid after being authenticated.</p>
*
*/
private @Nullable Double authTTL;
/**
* @return <p>The client identifier of the relying party at the OpenID identity provider. This identifier is typically obtained when the relying party is registered with the OpenID identity provider. You can specify a regular expression so that AppSync can validate against multiple client identifiers at a time.</p>
*
*/
private @Nullable String clientId;
/**
* @return <p>The number of milliseconds that a token is valid after it's issued to a user.</p>
*
*/
private @Nullable Double iatTTL;
/**
* @return <p>The issuer for the OIDC configuration. The issuer returned by discovery must exactly match the value of <code>iss</code> in the ID token.</p>
*
*/
private @Nullable String issuer;
private OpenIDConnectConfigResponse() {}
/**
* @return <p>The number of milliseconds that a token is valid after being authenticated.</p>
*
*/
public Optional authTTL() {
return Optional.ofNullable(this.authTTL);
}
/**
* @return <p>The client identifier of the relying party at the OpenID identity provider. This identifier is typically obtained when the relying party is registered with the OpenID identity provider. You can specify a regular expression so that AppSync can validate against multiple client identifiers at a time.</p>
*
*/
public Optional clientId() {
return Optional.ofNullable(this.clientId);
}
/**
* @return <p>The number of milliseconds that a token is valid after it's issued to a user.</p>
*
*/
public Optional iatTTL() {
return Optional.ofNullable(this.iatTTL);
}
/**
* @return <p>The issuer for the OIDC configuration. The issuer returned by discovery must exactly match the value of <code>iss</code> in the ID token.</p>
*
*/
public Optional issuer() {
return Optional.ofNullable(this.issuer);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(OpenIDConnectConfigResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable Double authTTL;
private @Nullable String clientId;
private @Nullable Double iatTTL;
private @Nullable String issuer;
public Builder() {}
public Builder(OpenIDConnectConfigResponse defaults) {
Objects.requireNonNull(defaults);
this.authTTL = defaults.authTTL;
this.clientId = defaults.clientId;
this.iatTTL = defaults.iatTTL;
this.issuer = defaults.issuer;
}
@CustomType.Setter
public Builder authTTL(@Nullable Double authTTL) {
this.authTTL = authTTL;
return this;
}
@CustomType.Setter
public Builder clientId(@Nullable String clientId) {
this.clientId = clientId;
return this;
}
@CustomType.Setter
public Builder iatTTL(@Nullable Double iatTTL) {
this.iatTTL = iatTTL;
return this;
}
@CustomType.Setter
public Builder issuer(@Nullable String issuer) {
this.issuer = issuer;
return this;
}
public OpenIDConnectConfigResponse build() {
final var _resultValue = new OpenIDConnectConfigResponse();
_resultValue.authTTL = authTTL;
_resultValue.clientId = clientId;
_resultValue.iatTTL = iatTTL;
_resultValue.issuer = issuer;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy