Interface MethodSnapshot.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<MethodSnapshot.Builder,
,MethodSnapshot> SdkBuilder<MethodSnapshot.Builder,
,MethodSnapshot> SdkPojo
- Enclosing class:
MethodSnapshot
public static interface MethodSnapshot.Builder
extends SdkPojo, CopyableBuilder<MethodSnapshot.Builder,MethodSnapshot>
-
Method Summary
Modifier and TypeMethodDescriptionapiKeyRequired
(Boolean apiKeyRequired) Specifies whether the method requires a valid ApiKey.authorizationType
(String authorizationType) The method's authorization type.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
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, orCOGNITO_USER_POOLS
for using a Cognito user pool.- Parameters:
authorizationType
- The method's authorization type. Valid values areNONE
for open access,AWS_IAM
for using AWS IAM permissions,CUSTOM
for using a custom authorizer, orCOGNITO_USER_POOLS
for using a Cognito user pool.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
apiKeyRequired
Specifies whether the method requires a valid ApiKey.
- Parameters:
apiKeyRequired
- Specifies whether the method requires a valid ApiKey.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-