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()
boolean
Specifies whether the method requires a valid ApiKey.Specifies the type of authorization used for the method.int
hashCode()
Specifies whether the method requires a valid ApiKey.void
setApiKeyRequired
(Boolean apiKeyRequired) Specifies whether the method requires a valid ApiKey.void
setAuthorizationType
(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
Specifies whether the method requires a valid ApiKey.
- Parameters:
apiKeyRequired
- Specifies whether the method requires a valid ApiKey.
-
getApiKeyRequired
Specifies whether the method requires a valid ApiKey.
- Returns:
- Specifies whether the method requires a valid ApiKey.
-
withApiKeyRequired
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.
-
isApiKeyRequired
Specifies whether the method requires a valid ApiKey.
- Returns:
- Specifies whether the method requires a valid ApiKey.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-