Class AuthorizerReference.Builder
java.lang.Object
software.amazon.awscdk.services.apigateway.AuthorizerReference.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<AuthorizerReference>
- Enclosing interface:
AuthorizerReference
@Stability(Stable)
public static final class AuthorizerReference.Builder
extends Object
implements software.amazon.jsii.Builder<AuthorizerReference>
A builder for
AuthorizerReference
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionauthorizerId
(String authorizerId) Sets the value ofAuthorizerReference.getAuthorizerId()
build()
Builds the configured instance.Sets the value ofAuthorizerReference.getRestApiId()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
authorizerId
Sets the value ofAuthorizerReference.getAuthorizerId()
- Parameters:
authorizerId
- The AuthorizerId of the Authorizer resource. This parameter is required.- Returns:
this
-
restApiId
Sets the value ofAuthorizerReference.getRestApiId()
- Parameters:
restApiId
- The RestApiId of the Authorizer resource. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<AuthorizerReference>
- Returns:
- a new instance of
AuthorizerReference
- Throws:
NullPointerException
- if any required attribute was not provided
-