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