Class AuthorizerProps.Builder
- java.lang.Object
-
- software.aws.awsprototypingsdk.openapigateway.AuthorizerProps.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<AuthorizerProps>
- Enclosing interface:
- AuthorizerProps
@Stability(Experimental) public static final class AuthorizerProps.Builder extends Object implements software.amazon.jsii.Builder<AuthorizerProps>
A builder forAuthorizerProps
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AuthorizerProps.BuilderauthorizationScopes(List<String> authorizationScopes)Sets the value ofAuthorizerProps.getAuthorizationScopes()AuthorizerProps.BuilderauthorizationType(software.amazon.awscdk.services.apigateway.AuthorizationType authorizationType)Sets the value ofAuthorizerProps.getAuthorizationType()AuthorizerProps.BuilderauthorizerId(String authorizerId)Sets the value ofAuthorizerProps.getAuthorizerId()AuthorizerPropsbuild()Builds the configured instance.
-
-
-
Method Detail
-
authorizationType
@Stability(Experimental) public AuthorizerProps.Builder authorizationType(software.amazon.awscdk.services.apigateway.AuthorizationType authorizationType)
Sets the value ofAuthorizerProps.getAuthorizationType()- Parameters:
authorizationType- The type of the authorizer. This parameter is required.- Returns:
this
-
authorizerId
@Stability(Experimental) public AuthorizerProps.Builder authorizerId(String authorizerId)
Sets the value ofAuthorizerProps.getAuthorizerId()- Parameters:
authorizerId- The unique identifier for the authorizer. This parameter is required.- Returns:
this
-
authorizationScopes
@Stability(Experimental) public AuthorizerProps.Builder authorizationScopes(List<String> authorizationScopes)
Sets the value ofAuthorizerProps.getAuthorizationScopes()- Parameters:
authorizationScopes- Scopes for the authorizer, if any.- Returns:
this
-
build
@Stability(Experimental) public AuthorizerProps build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<AuthorizerProps>- Returns:
- a new instance of
AuthorizerProps - Throws:
NullPointerException- if any required attribute was not provided
-
-