Class CfnVerifiedAccessTrustProvider.NativeApplicationOidcOptionsProperty.Builder
java.lang.Object
software.amazon.awscdk.services.ec2.CfnVerifiedAccessTrustProvider.NativeApplicationOidcOptionsProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnVerifiedAccessTrustProvider.NativeApplicationOidcOptionsProperty>
- Enclosing interface:
CfnVerifiedAccessTrustProvider.NativeApplicationOidcOptionsProperty
@Stability(Stable)
public static final class CfnVerifiedAccessTrustProvider.NativeApplicationOidcOptionsProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnVerifiedAccessTrustProvider.NativeApplicationOidcOptionsProperty>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionauthorizationEndpoint(String authorizationEndpoint) build()Builds the configured instance.clientSecret(String clientSecret) publicSigningKeyEndpoint(String publicSigningKeyEndpoint) tokenEndpoint(String tokenEndpoint) userInfoEndpoint(String userInfoEndpoint)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
authorizationEndpoint
@Stability(Stable) public CfnVerifiedAccessTrustProvider.NativeApplicationOidcOptionsProperty.Builder authorizationEndpoint(String authorizationEndpoint) Sets the value ofCfnVerifiedAccessTrustProvider.NativeApplicationOidcOptionsProperty.getAuthorizationEndpoint()- Parameters:
authorizationEndpoint- The authorization endpoint of the IdP.- Returns:
this
-
clientId
@Stability(Stable) public CfnVerifiedAccessTrustProvider.NativeApplicationOidcOptionsProperty.Builder clientId(String clientId) - Parameters:
clientId- The OAuth 2.0 client identifier.- Returns:
this
-
clientSecret
@Stability(Stable) public CfnVerifiedAccessTrustProvider.NativeApplicationOidcOptionsProperty.Builder clientSecret(String clientSecret) Sets the value ofCfnVerifiedAccessTrustProvider.NativeApplicationOidcOptionsProperty.getClientSecret()- Parameters:
clientSecret- The OAuth 2.0 client secret.- Returns:
this
-
issuer
@Stability(Stable) public CfnVerifiedAccessTrustProvider.NativeApplicationOidcOptionsProperty.Builder issuer(String issuer) - Parameters:
issuer- The OIDC issuer identifier of the IdP.- Returns:
this
-
publicSigningKeyEndpoint
@Stability(Stable) public CfnVerifiedAccessTrustProvider.NativeApplicationOidcOptionsProperty.Builder publicSigningKeyEndpoint(String publicSigningKeyEndpoint) Sets the value ofCfnVerifiedAccessTrustProvider.NativeApplicationOidcOptionsProperty.getPublicSigningKeyEndpoint()- Parameters:
publicSigningKeyEndpoint- The public signing key endpoint.- Returns:
this
-
scope
@Stability(Stable) public CfnVerifiedAccessTrustProvider.NativeApplicationOidcOptionsProperty.Builder scope(String scope) - Parameters:
scope- The set of user claims to be requested from the IdP.- Returns:
this
-
tokenEndpoint
@Stability(Stable) public CfnVerifiedAccessTrustProvider.NativeApplicationOidcOptionsProperty.Builder tokenEndpoint(String tokenEndpoint) Sets the value ofCfnVerifiedAccessTrustProvider.NativeApplicationOidcOptionsProperty.getTokenEndpoint()- Parameters:
tokenEndpoint- The token endpoint of the IdP.- Returns:
this
-
userInfoEndpoint
@Stability(Stable) public CfnVerifiedAccessTrustProvider.NativeApplicationOidcOptionsProperty.Builder userInfoEndpoint(String userInfoEndpoint) Sets the value ofCfnVerifiedAccessTrustProvider.NativeApplicationOidcOptionsProperty.getUserInfoEndpoint()- Parameters:
userInfoEndpoint- The user info endpoint of the IdP.- Returns:
this
-
build
@Stability(Stable) public CfnVerifiedAccessTrustProvider.NativeApplicationOidcOptionsProperty build()Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnVerifiedAccessTrustProvider.NativeApplicationOidcOptionsProperty>- Returns:
- a new instance of
CfnVerifiedAccessTrustProvider.NativeApplicationOidcOptionsProperty - Throws:
NullPointerException- if any required attribute was not provided
-