public MethodSnapshot withAuthorizationType(String authorizationType) {
        setAuthorizationType(authorizationType);
        return this;
    }
<p>
The method's authorization type. Valid values are <code>NONE</code> for open access, <code>AWS_IAM</code> for
using AWS IAM permissions, <code>CUSTOM</code> for using a custom authorizer, or <code>COGNITO_USER_POOLS</code>
for using a Cognito user pool.
</p>

@param authorizationType
       The method's authorization type. Valid values are <code>NONE</code> for open access, <code>AWS_IAM</code>
       for using AWS IAM permissions, <code>CUSTOM</code> for using a custom authorizer, or
       <code>COGNITO_USER_POOLS</code> for using a Cognito user pool.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-api-gateway/src/main/java/com/amazonaws/services/apigateway/model/MethodSnapshot.java