Class CfnRuntime.CustomJWTAuthorizerConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.bedrockagentcore.CfnRuntime.CustomJWTAuthorizerConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnRuntime.CustomJWTAuthorizerConfigurationProperty>
- Enclosing interface:
CfnRuntime.CustomJWTAuthorizerConfigurationProperty
@Stability(Stable)
public static final class CfnRuntime.CustomJWTAuthorizerConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnRuntime.CustomJWTAuthorizerConfigurationProperty>
A builder for
CfnRuntime.CustomJWTAuthorizerConfigurationProperty
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionallowedAudience
(List<String> allowedAudience) Sets the value ofCfnRuntime.CustomJWTAuthorizerConfigurationProperty.getAllowedAudience()
allowedClients
(List<String> allowedClients) Sets the value ofCfnRuntime.CustomJWTAuthorizerConfigurationProperty.getAllowedClients()
build()
Builds the configured instance.discoveryUrl
(String discoveryUrl) Sets the value ofCfnRuntime.CustomJWTAuthorizerConfigurationProperty.getDiscoveryUrl()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
discoveryUrl
@Stability(Stable) public CfnRuntime.CustomJWTAuthorizerConfigurationProperty.Builder discoveryUrl(String discoveryUrl) Sets the value ofCfnRuntime.CustomJWTAuthorizerConfigurationProperty.getDiscoveryUrl()
- Parameters:
discoveryUrl
- OpenID Connect discovery URL. This parameter is required.- Returns:
this
-
allowedAudience
@Stability(Stable) public CfnRuntime.CustomJWTAuthorizerConfigurationProperty.Builder allowedAudience(List<String> allowedAudience) Sets the value ofCfnRuntime.CustomJWTAuthorizerConfigurationProperty.getAllowedAudience()
- Parameters:
allowedAudience
- List of allowed audiences.- Returns:
this
-
allowedClients
@Stability(Stable) public CfnRuntime.CustomJWTAuthorizerConfigurationProperty.Builder allowedClients(List<String> allowedClients) Sets the value ofCfnRuntime.CustomJWTAuthorizerConfigurationProperty.getAllowedClients()
- Parameters:
allowedClients
- List of allowed clients.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnRuntime.CustomJWTAuthorizerConfigurationProperty>
- Returns:
- a new instance of
CfnRuntime.CustomJWTAuthorizerConfigurationProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-