Class CfnApiPropsMixin.OpenIDConnectConfigProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.appsync.CfnApiPropsMixin.OpenIDConnectConfigProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnApiPropsMixin.OpenIDConnectConfigProperty>
- Enclosing interface:
CfnApiPropsMixin.OpenIDConnectConfigProperty
@Stability(Stable)
public static final class CfnApiPropsMixin.OpenIDConnectConfigProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnApiPropsMixin.OpenIDConnectConfigProperty>
A builder for
CfnApiPropsMixin.OpenIDConnectConfigProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSets the value ofCfnApiPropsMixin.OpenIDConnectConfigProperty.getAuthTtl()build()Builds the configured instance.Sets the value ofCfnApiPropsMixin.OpenIDConnectConfigProperty.getClientId()Sets the value ofCfnApiPropsMixin.OpenIDConnectConfigProperty.getIatTtl()Sets the value ofCfnApiPropsMixin.OpenIDConnectConfigProperty.getIssuer()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
authTtl
@Stability(Stable) public CfnApiPropsMixin.OpenIDConnectConfigProperty.Builder authTtl(Number authTtl) Sets the value ofCfnApiPropsMixin.OpenIDConnectConfigProperty.getAuthTtl()- Parameters:
authTtl- The number of milliseconds that a token is valid after being authenticated.- Returns:
this
-
clientId
@Stability(Stable) public CfnApiPropsMixin.OpenIDConnectConfigProperty.Builder clientId(String clientId) Sets the value ofCfnApiPropsMixin.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 CfnApiPropsMixin.OpenIDConnectConfigProperty.Builder iatTtl(Number iatTtl) Sets the value ofCfnApiPropsMixin.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 CfnApiPropsMixin.OpenIDConnectConfigProperty.Builder issuer(String issuer) Sets the value ofCfnApiPropsMixin.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<CfnApiPropsMixin.OpenIDConnectConfigProperty>- Returns:
- a new instance of
CfnApiPropsMixin.OpenIDConnectConfigProperty - Throws:
NullPointerException- if any required attribute was not provided
-