Class CfnWorkforce.OidcConfigProperty.Builder
java.lang.Object
software.amazon.awscdk.services.sagemaker.CfnWorkforce.OidcConfigProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnWorkforce.OidcConfigProperty>
- Enclosing interface:
CfnWorkforce.OidcConfigProperty
@Stability(Stable)
public static final class CfnWorkforce.OidcConfigProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnWorkforce.OidcConfigProperty>
A builder for
CfnWorkforce.OidcConfigProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionauthenticationRequestExtraParams(Map<String, String> authenticationRequestExtraParams) Sets the value ofCfnWorkforce.OidcConfigProperty.getAuthenticationRequestExtraParams()authenticationRequestExtraParams(IResolvable authenticationRequestExtraParams) Sets the value ofCfnWorkforce.OidcConfigProperty.getAuthenticationRequestExtraParams()authorizationEndpoint(String authorizationEndpoint) Sets the value ofCfnWorkforce.OidcConfigProperty.getAuthorizationEndpoint()build()Builds the configured instance.Sets the value ofCfnWorkforce.OidcConfigProperty.getClientId()clientSecret(String clientSecret) Sets the value ofCfnWorkforce.OidcConfigProperty.getClientSecret()Sets the value ofCfnWorkforce.OidcConfigProperty.getIssuer()Sets the value ofCfnWorkforce.OidcConfigProperty.getJwksUri()logoutEndpoint(String logoutEndpoint) Sets the value ofCfnWorkforce.OidcConfigProperty.getLogoutEndpoint()Sets the value ofCfnWorkforce.OidcConfigProperty.getScope()tokenEndpoint(String tokenEndpoint) Sets the value ofCfnWorkforce.OidcConfigProperty.getTokenEndpoint()userInfoEndpoint(String userInfoEndpoint) Sets the value ofCfnWorkforce.OidcConfigProperty.getUserInfoEndpoint()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
authorizationEndpoint
@Stability(Stable) public CfnWorkforce.OidcConfigProperty.Builder authorizationEndpoint(String authorizationEndpoint) Sets the value ofCfnWorkforce.OidcConfigProperty.getAuthorizationEndpoint()- Parameters:
authorizationEndpoint- The OIDC IdP authorization endpoint used to configure your private workforce. This parameter is required.- Returns:
this
-
clientId
Sets the value ofCfnWorkforce.OidcConfigProperty.getClientId()- Parameters:
clientId- The OIDC IdP client ID used to configure your private workforce. This parameter is required.- Returns:
this
-
issuer
Sets the value ofCfnWorkforce.OidcConfigProperty.getIssuer()- Parameters:
issuer- The OIDC IdP issuer used to configure your private workforce. This parameter is required.- Returns:
this
-
jwksUri
Sets the value ofCfnWorkforce.OidcConfigProperty.getJwksUri()- Parameters:
jwksUri- The OIDC IdP JSON Web Key Set (Jwks) URI used to configure your private workforce. This parameter is required.- Returns:
this
-
logoutEndpoint
@Stability(Stable) public CfnWorkforce.OidcConfigProperty.Builder logoutEndpoint(String logoutEndpoint) Sets the value ofCfnWorkforce.OidcConfigProperty.getLogoutEndpoint()- Parameters:
logoutEndpoint- The OIDC IdP logout endpoint used to configure your private workforce. This parameter is required.- Returns:
this
-
tokenEndpoint
@Stability(Stable) public CfnWorkforce.OidcConfigProperty.Builder tokenEndpoint(String tokenEndpoint) Sets the value ofCfnWorkforce.OidcConfigProperty.getTokenEndpoint()- Parameters:
tokenEndpoint- The OIDC IdP token endpoint used to configure your private workforce. This parameter is required.- Returns:
this
-
userInfoEndpoint
@Stability(Stable) public CfnWorkforce.OidcConfigProperty.Builder userInfoEndpoint(String userInfoEndpoint) Sets the value ofCfnWorkforce.OidcConfigProperty.getUserInfoEndpoint()- Parameters:
userInfoEndpoint- The OIDC IdP user info endpoint used to configure your private workforce. This parameter is required.- Returns:
this
-
authenticationRequestExtraParams
@Stability(Stable) public CfnWorkforce.OidcConfigProperty.Builder authenticationRequestExtraParams(IResolvable authenticationRequestExtraParams) Sets the value ofCfnWorkforce.OidcConfigProperty.getAuthenticationRequestExtraParams()- Parameters:
authenticationRequestExtraParams- A string to string map of identifiers specific to the custom identity provider (IdP) being used.- Returns:
this
-
authenticationRequestExtraParams
@Stability(Stable) public CfnWorkforce.OidcConfigProperty.Builder authenticationRequestExtraParams(Map<String, String> authenticationRequestExtraParams) Sets the value ofCfnWorkforce.OidcConfigProperty.getAuthenticationRequestExtraParams()- Parameters:
authenticationRequestExtraParams- A string to string map of identifiers specific to the custom identity provider (IdP) being used.- Returns:
this
-
clientSecret
Sets the value ofCfnWorkforce.OidcConfigProperty.getClientSecret()- Parameters:
clientSecret- The OIDC IdP client secret used to configure your private workforce.- Returns:
this
-
scope
Sets the value ofCfnWorkforce.OidcConfigProperty.getScope()- Parameters:
scope- An array of string identifiers used to refer to the specific pieces of user data or claims that the client application wants to access.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnWorkforce.OidcConfigProperty>- Returns:
- a new instance of
CfnWorkforce.OidcConfigProperty - Throws:
NullPointerException- if any required attribute was not provided
-