@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class MethodSnapshot extends Object implements Serializable, Cloneable, StructuredPojo
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()
The method's authorization type.
|
int |
hashCode() |
Boolean |
isApiKeyRequired()
Specifies whether the method requires a valid ApiKey.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setApiKeyRequired(Boolean apiKeyRequired)
Specifies whether the method requires a valid ApiKey.
|
void |
setAuthorizationType(String authorizationType)
The method's authorization type.
|
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)
The method's authorization type.
|
public void setAuthorizationType(String authorizationType)
The method's authorization type. Valid values are NONE for open access, AWS_IAM for
using AWS IAM permissions, CUSTOM for using a custom authorizer, or COGNITO_USER_POOLS
for using a Cognito user pool.
authorizationType - The method's authorization type. Valid values are NONE for open access, AWS_IAM
for using AWS IAM permissions, CUSTOM for using a custom authorizer, or
COGNITO_USER_POOLS for using a Cognito user pool.public String getAuthorizationType()
The method's authorization type. Valid values are NONE for open access, AWS_IAM for
using AWS IAM permissions, CUSTOM for using a custom authorizer, or COGNITO_USER_POOLS
for using a Cognito user pool.
NONE for open access, AWS_IAM
for using AWS IAM permissions, CUSTOM for using a custom authorizer, or
COGNITO_USER_POOLS for using a Cognito user pool.public MethodSnapshot withAuthorizationType(String authorizationType)
The method's authorization type. Valid values are NONE for open access, AWS_IAM for
using AWS IAM permissions, CUSTOM for using a custom authorizer, or COGNITO_USER_POOLS
for using a Cognito user pool.
authorizationType - The method's authorization type. Valid values are NONE for open access, AWS_IAM
for using AWS IAM permissions, CUSTOM for using a custom authorizer, or
COGNITO_USER_POOLS for using a Cognito user pool.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 ObjectObject.toString()public MethodSnapshot clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.