Class MethodSnapshot
java.lang.Object
com.amazonaws.services.apigateway.model.MethodSnapshot
- All Implemented Interfaces:
Serializable, Cloneable
Represents a summary of a Method resource, given a particular date and time.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()booleanSpecifies whether the method requires a valid ApiKey.Specifies the type of authorization used for the method.inthashCode()Specifies whether the method requires a valid ApiKey.voidsetApiKeyRequired(Boolean apiKeyRequired) Specifies whether the method requires a valid ApiKey.voidsetAuthorizationType(String authorizationType) Specifies the type of authorization used for the method.toString()Returns a string representation of this object; useful for testing and debugging.withApiKeyRequired(Boolean apiKeyRequired) Specifies whether the method requires a valid ApiKey.withAuthorizationType(String authorizationType) Specifies the type of authorization used for the method.
-
Constructor Details
-
MethodSnapshot
public MethodSnapshot()
-
-
Method Details
-
setAuthorizationType
Specifies the type of authorization used for the method.
- Parameters:
authorizationType- Specifies the type of authorization used for the method.
-
getAuthorizationType
Specifies the type of authorization used for the method.
- Returns:
- Specifies the type of authorization used for the method.
-
withAuthorizationType
Specifies the type of authorization used for the method.
- Parameters:
authorizationType- Specifies the type of authorization used for the method.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setApiKeyRequired
-
getApiKeyRequired
-
withApiKeyRequired
-
isApiKeyRequired
-
toString
-
equals
-
hashCode
-
clone
-