Class CfnFunctionPropsMixin.HttpApiFunctionAuthProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.sam.CfnFunctionPropsMixin.HttpApiFunctionAuthProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnFunctionPropsMixin.HttpApiFunctionAuthProperty>
- Enclosing interface:
CfnFunctionPropsMixin.HttpApiFunctionAuthProperty
@Stability(Stable)
public static final class CfnFunctionPropsMixin.HttpApiFunctionAuthProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnFunctionPropsMixin.HttpApiFunctionAuthProperty>
A builder for
CfnFunctionPropsMixin.HttpApiFunctionAuthProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionauthorizationScopes(List<String> authorizationScopes) authorizer(String authorizer) Sets the value ofCfnFunctionPropsMixin.HttpApiFunctionAuthProperty.getAuthorizer()build()Builds the configured instance.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
authorizationScopes
@Stability(Stable) public CfnFunctionPropsMixin.HttpApiFunctionAuthProperty.Builder authorizationScopes(List<String> authorizationScopes) - Parameters:
authorizationScopes- the value to be set.- Returns:
this
-
authorizer
@Stability(Stable) public CfnFunctionPropsMixin.HttpApiFunctionAuthProperty.Builder authorizer(String authorizer) Sets the value ofCfnFunctionPropsMixin.HttpApiFunctionAuthProperty.getAuthorizer()- Parameters:
authorizer- the value to be set.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnFunctionPropsMixin.HttpApiFunctionAuthProperty>- Returns:
- a new instance of
CfnFunctionPropsMixin.HttpApiFunctionAuthProperty - Throws:
NullPointerException- if any required attribute was not provided
-