Interface MethodSnapshot.Builder

    • Method Detail

      • authorizationType

        MethodSnapshot.Builder authorizationType​(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.

        Parameters:
        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.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • apiKeyRequired

        MethodSnapshot.Builder apiKeyRequired​(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.