Class MethodSnapshot
- java.lang.Object
-
- com.amazonaws.services.apigateway.model.MethodSnapshot
-
- All Implemented Interfaces:
Serializable
,Cloneable
public class MethodSnapshot extends Object implements Serializable, Cloneable
Represents a summary of a Method resource, given a particular date and time.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description MethodSnapshot()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MethodSnapshot
clone()
boolean
equals(Object obj)
Boolean
getApiKeyRequired()
Specifies whether the method requires a valid ApiKey.String
getAuthorizationType()
Specifies the type of authorization used for the method.int
hashCode()
Boolean
isApiKeyRequired()
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.String
toString()
Returns a string representation of this object; useful for testing and debugging.MethodSnapshot
withApiKeyRequired(Boolean apiKeyRequired)
Specifies whether the method requires a valid ApiKey.MethodSnapshot
withAuthorizationType(String authorizationType)
Specifies the type of authorization used for the method.
-
-
-
Method Detail
-
setAuthorizationType
public void setAuthorizationType(String authorizationType)
Specifies the type of authorization used for the method.
- Parameters:
authorizationType
- Specifies the type of authorization used for the method.
-
getAuthorizationType
public String getAuthorizationType()
Specifies the type of authorization used for the method.
- Returns:
- Specifies the type of authorization used for the method.
-
withAuthorizationType
public MethodSnapshot withAuthorizationType(String authorizationType)
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
public void setApiKeyRequired(Boolean apiKeyRequired)
Specifies whether the method requires a valid ApiKey.
- Parameters:
apiKeyRequired
- Specifies whether the method requires a valid ApiKey.
-
getApiKeyRequired
public Boolean getApiKeyRequired()
Specifies whether the method requires a valid ApiKey.
- Returns:
- Specifies whether the method requires a valid ApiKey.
-
withApiKeyRequired
public MethodSnapshot withApiKeyRequired(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.
-
isApiKeyRequired
public Boolean isApiKeyRequired()
Specifies whether the method requires a valid ApiKey.
- Returns:
- Specifies whether the method requires a valid ApiKey.
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public MethodSnapshot clone()
-
-