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
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
authorizationType
The method's authorization type. Valid values are
NONEfor open access,AWS_IAMfor using AWS IAM permissions,CUSTOMfor using a custom authorizer, orCOGNITO_USER_POOLSfor using a Cognito user pool.- Parameters:
authorizationType- The method's authorization type. Valid values areNONEfor open access,AWS_IAMfor using AWS IAM permissions,CUSTOMfor using a custom authorizer, orCOGNITO_USER_POOLSfor 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.
-