Class CfnVerifiedAccessTrustProvider.OidcOptionsProperty.Builder
java.lang.Object
software.amazon.awscdk.services.ec2.CfnVerifiedAccessTrustProvider.OidcOptionsProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnVerifiedAccessTrustProvider.OidcOptionsProperty>
- Enclosing interface:
CfnVerifiedAccessTrustProvider.OidcOptionsProperty
@Stability(Stable)
public static final class CfnVerifiedAccessTrustProvider.OidcOptionsProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnVerifiedAccessTrustProvider.OidcOptionsProperty>
A builder for
CfnVerifiedAccessTrustProvider.OidcOptionsProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionauthorizationEndpoint
(String authorizationEndpoint) build()
Builds the configured instance.Sets the value ofCfnVerifiedAccessTrustProvider.OidcOptionsProperty.getClientId()
clientSecret
(String clientSecret) Sets the value ofCfnVerifiedAccessTrustProvider.OidcOptionsProperty.getClientSecret()
Sets the value ofCfnVerifiedAccessTrustProvider.OidcOptionsProperty.getIssuer()
Sets the value ofCfnVerifiedAccessTrustProvider.OidcOptionsProperty.getScope()
tokenEndpoint
(String tokenEndpoint) Sets the value ofCfnVerifiedAccessTrustProvider.OidcOptionsProperty.getTokenEndpoint()
userInfoEndpoint
(String userInfoEndpoint) Sets the value ofCfnVerifiedAccessTrustProvider.OidcOptionsProperty.getUserInfoEndpoint()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
authorizationEndpoint
@Stability(Stable) public CfnVerifiedAccessTrustProvider.OidcOptionsProperty.Builder authorizationEndpoint(String authorizationEndpoint) - Parameters:
authorizationEndpoint
- The OIDC authorization endpoint.- Returns:
this
-
clientId
@Stability(Stable) public CfnVerifiedAccessTrustProvider.OidcOptionsProperty.Builder clientId(String clientId) Sets the value ofCfnVerifiedAccessTrustProvider.OidcOptionsProperty.getClientId()
- Parameters:
clientId
- The client identifier.- Returns:
this
-
clientSecret
@Stability(Stable) public CfnVerifiedAccessTrustProvider.OidcOptionsProperty.Builder clientSecret(String clientSecret) Sets the value ofCfnVerifiedAccessTrustProvider.OidcOptionsProperty.getClientSecret()
- Parameters:
clientSecret
- The client secret.- Returns:
this
-
issuer
@Stability(Stable) public CfnVerifiedAccessTrustProvider.OidcOptionsProperty.Builder issuer(String issuer) Sets the value ofCfnVerifiedAccessTrustProvider.OidcOptionsProperty.getIssuer()
- Parameters:
issuer
- The OIDC issuer.- Returns:
this
-
scope
@Stability(Stable) public CfnVerifiedAccessTrustProvider.OidcOptionsProperty.Builder scope(String scope) Sets the value ofCfnVerifiedAccessTrustProvider.OidcOptionsProperty.getScope()
- Parameters:
scope
- The OpenID Connect (OIDC) scope specified.- Returns:
this
-
tokenEndpoint
@Stability(Stable) public CfnVerifiedAccessTrustProvider.OidcOptionsProperty.Builder tokenEndpoint(String tokenEndpoint) Sets the value ofCfnVerifiedAccessTrustProvider.OidcOptionsProperty.getTokenEndpoint()
- Parameters:
tokenEndpoint
- The OIDC token endpoint.- Returns:
this
-
userInfoEndpoint
@Stability(Stable) public CfnVerifiedAccessTrustProvider.OidcOptionsProperty.Builder userInfoEndpoint(String userInfoEndpoint) Sets the value ofCfnVerifiedAccessTrustProvider.OidcOptionsProperty.getUserInfoEndpoint()
- Parameters:
userInfoEndpoint
- The OIDC user info endpoint.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnVerifiedAccessTrustProvider.OidcOptionsProperty>
- Returns:
- a new instance of
CfnVerifiedAccessTrustProvider.OidcOptionsProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-