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