public class MethodSnapshot extends Object implements Serializable, Cloneable
Represents a summary of a Method resource, given a particular date and time.
Constructor and Description |
---|
MethodSnapshot() |
Modifier and Type | Method and 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.
|
public void setAuthorizationType(String authorizationType)
Specifies the type of authorization used for the method.
authorizationType
- Specifies the type of authorization used for the method.public String getAuthorizationType()
Specifies the type of authorization used for the method.
public MethodSnapshot withAuthorizationType(String authorizationType)
Specifies the type of authorization used for the method.
authorizationType
- Specifies the type of authorization used for the method.public void setApiKeyRequired(Boolean apiKeyRequired)
Specifies whether the method requires a valid ApiKey.
apiKeyRequired
- Specifies whether the method requires a valid ApiKey.public Boolean getApiKeyRequired()
Specifies whether the method requires a valid ApiKey.
public MethodSnapshot withApiKeyRequired(Boolean apiKeyRequired)
Specifies whether the method requires a valid ApiKey.
apiKeyRequired
- Specifies whether the method requires a valid ApiKey.public Boolean isApiKeyRequired()
Specifies whether the method requires a valid ApiKey.
public String toString()
toString
in class Object
Object.toString()
public MethodSnapshot clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.