Class CfnGraphQLApi.OpenIDConnectConfigProperty.Builder
java.lang.Object
software.amazon.awscdk.services.appsync.CfnGraphQLApi.OpenIDConnectConfigProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnGraphQLApi.OpenIDConnectConfigProperty>
- Enclosing interface:
CfnGraphQLApi.OpenIDConnectConfigProperty
@Stability(Stable)
public static final class CfnGraphQLApi.OpenIDConnectConfigProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnGraphQLApi.OpenIDConnectConfigProperty>
A builder for
CfnGraphQLApi.OpenIDConnectConfigProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionSets the value ofCfnGraphQLApi.OpenIDConnectConfigProperty.getAuthTtl()
build()
Builds the configured instance.Sets the value ofCfnGraphQLApi.OpenIDConnectConfigProperty.getClientId()
Sets the value ofCfnGraphQLApi.OpenIDConnectConfigProperty.getIatTtl()
Sets the value ofCfnGraphQLApi.OpenIDConnectConfigProperty.getIssuer()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
authTtl
Sets the value ofCfnGraphQLApi.OpenIDConnectConfigProperty.getAuthTtl()
- Parameters:
authTtl
- The number of milliseconds that a token is valid after being authenticated.- Returns:
this
-
clientId
@Stability(Stable) public CfnGraphQLApi.OpenIDConnectConfigProperty.Builder clientId(String clientId) Sets the value ofCfnGraphQLApi.OpenIDConnectConfigProperty.getClientId()
- Parameters:
clientId
- 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 AWS AppSync can validate against multiple client identifiers at a time.- Returns:
this
-
iatTtl
Sets the value ofCfnGraphQLApi.OpenIDConnectConfigProperty.getIatTtl()
- Parameters:
iatTtl
- The number of milliseconds that a token is valid after it's issued to a user.- Returns:
this
-
issuer
Sets the value ofCfnGraphQLApi.OpenIDConnectConfigProperty.getIssuer()
- Parameters:
issuer
- The issuer for the OIDC configuration. The issuer returned by discovery must exactly match the value ofiss
in the ID token.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnGraphQLApi.OpenIDConnectConfigProperty>
- Returns:
- a new instance of
CfnGraphQLApi.OpenIDConnectConfigProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-