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- The configuration authorization. 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- Represents inbound authorization configuration options used to authenticate incoming requests.- Returns:
this
-
allowedClients
@Stability(Stable) public CfnRuntime.CustomJWTAuthorizerConfigurationProperty.Builder allowedClients(List<String> allowedClients) Sets the value ofCfnRuntime.CustomJWTAuthorizerConfigurationProperty.getAllowedClients()- Parameters:
allowedClients- Represents individual client IDs that are validated in the incoming JWT token validation process.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnRuntime.CustomJWTAuthorizerConfigurationProperty>- Returns:
- a new instance of
CfnRuntime.CustomJWTAuthorizerConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-