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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description MethodSnapshot.BuilderapiKeyRequired(Boolean apiKeyRequired)Specifies whether the method requires a valid ApiKey.MethodSnapshot.BuilderauthorizationType(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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
authorizationType
MethodSnapshot.Builder authorizationType(String 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
MethodSnapshot.Builder apiKeyRequired(Boolean 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.
-
-