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