public static interface MethodSnapshot.Builder extends CopyableBuilder<MethodSnapshot.Builder,MethodSnapshot>
| Modifier and Type | Method and Description |
|---|---|
MethodSnapshot.Builder |
apiKeyRequired(Boolean apiKeyRequired)
Specifies whether the method requires a valid ApiKey.
|
MethodSnapshot.Builder |
authorizationType(String authorizationType)
The method's authorization type.
|
copyapply, buildMethodSnapshot.Builder authorizationType(String authorizationType)
The method's authorization type. Valid values are NONE for open access, AWS_IAM for
using AWS IAM permissions, CUSTOM for using a custom authorizer, or
COGNITO_USER_POOLS for using a Cognito user pool.
authorizationType - The method's authorization type. Valid values are NONE for open access,
AWS_IAM for using AWS IAM permissions, CUSTOM for using a custom authorizer,
or COGNITO_USER_POOLS for using a Cognito user pool.MethodSnapshot.Builder apiKeyRequired(Boolean apiKeyRequired)
Specifies whether the method requires a valid ApiKey.
apiKeyRequired - Specifies whether the method requires a valid ApiKey.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.