Class OidcEndpoints.Builder
java.lang.Object
software.amazon.awscdk.services.cognito.OidcEndpoints.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<OidcEndpoints>
- Enclosing interface:
- OidcEndpoints
@Stability(Stable)
public static final class OidcEndpoints.Builder
extends Object
implements software.amazon.jsii.Builder<OidcEndpoints>
A builder for
OidcEndpoints
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionauthorization
(String authorization) Sets the value ofOidcEndpoints.getAuthorization()
build()
Builds the configured instance.Sets the value ofOidcEndpoints.getJwksUri()
Sets the value ofOidcEndpoints.getToken()
Sets the value ofOidcEndpoints.getUserInfo()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
authorization
Sets the value ofOidcEndpoints.getAuthorization()
- Parameters:
authorization
- Authorization endpoint. This parameter is required.- Returns:
this
-
jwksUri
Sets the value ofOidcEndpoints.getJwksUri()
- Parameters:
jwksUri
- Jwks_uri endpoint. This parameter is required.- Returns:
this
-
token
Sets the value ofOidcEndpoints.getToken()
- Parameters:
token
- Token endpoint. This parameter is required.- Returns:
this
-
userInfo
Sets the value ofOidcEndpoints.getUserInfo()
- Parameters:
userInfo
- UserInfo endpoint. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<OidcEndpoints>
- Returns:
- a new instance of
OidcEndpoints
- Throws:
NullPointerException
- if any required attribute was not provided
-