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